You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 27 Next »

Hama Commands

Jar

Runs a jar file. Users can bundle their BSP code in a jar file and execute it using this command.

Usage: hama jar <jar> [mainClass] args...

Job

Command to interact with BSP Jobs.

Usage: hama job [-submit <job-file>] | [-status <job-id>] | [-kill <job-id>] | [-list [all]] | [-kill-task <task-id>] | [-fail-task <task-id>]

-submit <job-file>

Submits the job.

-status <job-id>

Prints the job status.

-kill <job-id>

Kills the job.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="81f59b84-c741-41cc-8de1-eb1cf04b5382"><ac:plain-text-body><![CDATA[

-list [all]

-list all displays all jobs. -list displays only jobs which are yet to complete.

]]></ac:plain-text-body></ac:structured-macro>

-list-active-grooms

-list-active-grooms displays all active grooms.

-kill-task <task-id>

Kills the task. Killed tasks are NOT counted against failed attempts.

-fail-task <task-id>

Fails the task. Failed tasks are counted against failed attempts.

  • No labels