You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2010/06/01 15:37:37 UTC

[jira] Created: (HAMA-267) Add command-line interface for job management

Add command-line interface for job management
---------------------------------------------

                 Key: HAMA-267
                 URL: https://issues.apache.org/jira/browse/HAMA-267
             Project: Hama
          Issue Type: New Feature
          Components: bsp
    Affects Versions: 0.2.0
            Reporter: Hyunsik Choi
             Fix For: 0.2.0


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HAMA-267) Add command-line interface for job management

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon resolved HAMA-267.
---------------------------------

    Resolution: Fixed

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

> Add command-line interface for job management
> ---------------------------------------------
>
>                 Key: HAMA-267
>                 URL: https://issues.apache.org/jira/browse/HAMA-267
>             Project: Hama
>          Issue Type: New Feature
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Hyunsik Choi
>            Assignee: Edward J. Yoon
>             Fix For: 0.2.0
>
>         Attachments: HAMA-267.patch, HAMA-267_re.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HAMA-267) Add command-line interface for job management

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon reassigned HAMA-267:
-----------------------------------

    Assignee: Edward J. Yoon

> Add command-line interface for job management
> ---------------------------------------------
>
>                 Key: HAMA-267
>                 URL: https://issues.apache.org/jira/browse/HAMA-267
>             Project: Hama
>          Issue Type: New Feature
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Hyunsik Choi
>            Assignee: Edward J. Yoon
>             Fix For: 0.2.0
>
>         Attachments: HAMA-267.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HAMA-267) Add command-line interface for job management

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon updated HAMA-267:
--------------------------------

    Attachment: HAMA-267_re.patch

attach my patch.

> Add command-line interface for job management
> ---------------------------------------------
>
>                 Key: HAMA-267
>                 URL: https://issues.apache.org/jira/browse/HAMA-267
>             Project: Hama
>          Issue Type: New Feature
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Hyunsik Choi
>            Assignee: Edward J. Yoon
>             Fix For: 0.2.0
>
>         Attachments: HAMA-267.patch, HAMA-267_re.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HAMA-267) Add command-line interface for job management

Posted by "Hyunsik Choi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877837#action_12877837 ] 

Hyunsik Choi commented on HAMA-267:
-----------------------------------

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

> Add command-line interface for job management
> ---------------------------------------------
>
>                 Key: HAMA-267
>                 URL: https://issues.apache.org/jira/browse/HAMA-267
>             Project: Hama
>          Issue Type: New Feature
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Hyunsik Choi
>             Fix For: 0.2.0
>
>         Attachments: HAMA-267.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HAMA-267) Add command-line interface for job management

Posted by "Hyunsik Choi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyunsik Choi updated HAMA-267:
------------------------------

    Attachment: HAMA-267.patch

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:

{code}
bin/hama job -list [all]

bin/hama job -list-active-grooms
{code}

> Add command-line interface for job management
> ---------------------------------------------
>
>                 Key: HAMA-267
>                 URL: https://issues.apache.org/jira/browse/HAMA-267
>             Project: Hama
>          Issue Type: New Feature
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Hyunsik Choi
>             Fix For: 0.2.0
>
>         Attachments: HAMA-267.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.