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

        Hyunsik Choi created issue -
        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
        Hyunsik Choi made changes -
        Field Original Value New Value
        Attachment HAMA-267.patch [ 12446874 ]
        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.
        Edward J. Yoon made changes -
        Assignee Edward J. Yoon [ udanax ]
        Hide
        Edward J. Yoon added a comment -

        attach my patch.

        Show
        Edward J. Yoon added a comment - attach my patch.
        Edward J. Yoon made changes -
        Attachment HAMA-267_re.patch [ 12456657 ]
        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.
        Edward J. Yoon made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        131d 15h 39m 1 Edward J. Yoon 11/Oct/10 06:16

          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