Hama
  1. Hama
  2. HAMA-267

Add command-line interface for job management

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.0
    • Fix Version/s: 0.2.0
    • Component/s: bsp core
    • Labels:
      None

      Description

      Through JobSubmissionProtocols, BSPJobClient provides getClusterStatus, getJobStatus, getAllJobs, killJob, and killTask methods that offer ways to obtain information and control already-submitted jobs. But, they have been only provided as APIs. For easy use, we need some kind of user-friend interface like command-line interface.

      This commdand-line interface will mainly wrap methods provided by BSPJobClient. Thus, the interface will have the following features:

      • listing BSP cluster
      • getting information of subbmitted job (or jobs)
      • killing job or task
      1. HAMA-267.patch
        9 kB
        Hyunsik Choi
      2. HAMA-267_re.patch
        10 kB
        Edward J. Yoon

        Activity

        Hide
        Hyunsik Choi added a comment -

        I attach a patch. This patch includes two features to print a list of submitted jobs and print a list of active grooms.

        Note that before you apply this patch, you need to apply HAMA-268.patch.

        You can check two features as follows:

        bin/hama job -list [all]
        
        bin/hama job -list-active-grooms
        
        Show
        Hyunsik Choi added a comment - I attach a patch. This patch includes two features to print a list of submitted jobs and print a list of active grooms. Note that before you apply this patch, you need to apply HAMA-268 .patch. You can check two features as follows: bin/hama job -list [all] bin/hama job -list-active-grooms
        Hide
        Hyunsik Choi added a comment -

        This patch is a progress of this issue. The killing job or task should be implemented.

        Show
        Hyunsik Choi added a comment - This patch is a progress of this issue. The killing job or task should be implemented.
        Hide
        Edward J. Yoon added a comment -

        attach my patch.

        Show
        Edward J. Yoon added a comment - attach my patch.
        Hide
        Edward J. Yoon added a comment -

        job-kill method will be implemented on HAMA-298
        I've just committed this.

        Show
        Edward J. Yoon added a comment - job-kill method will be implemented on HAMA-298 I've just committed this.

          People

          • Assignee:
            Edward J. Yoon
            Reporter:
            Hyunsik Choi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development