-
Notifications
You must be signed in to change notification settings - Fork 7
Cli
wangdi edited this page Oct 27, 2020
·
1 revision
Marayarn provides a Command-Line Interface (CLI) to manage applications on yarn.
The command line can be used to:
- submit application,
- kill application,
- get status of application,
- provide information about application,
- scale application
./marayarn submit \
-cpu 1 -memory 512 -name hello_world -instance 2 \
-cmd 'while true; do date; sleep 5; done'
./marayarn kill -app <appID>
./marayarn status -app <appID>
./marayarn info -app <appID>
./marayarn scale -app <appID> -instance 3
The command line syntax is as follows:
./marayarn [OPTIONS]
The following actions are available:
- submit
- kill
- status
- info
- scale
Use -h to get more information