You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2009/09/11 07:56:59 UTC

[jira] Created: (MAPREDUCE-974) CLI command for viewing tasktrackers should not be under "job"

CLI command for viewing tasktrackers should not be under "job"
--------------------------------------------------------------

                 Key: MAPREDUCE-974
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-974
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: client
            Reporter: Amar Kamat


For viewing the tasktrackers in a mr cluster the command available is "./bin/hadoop job -list-tracker". But the tracker info is cluster level info and not job level. 

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


[jira] Updated: (MAPREDUCE-974) CLI command for viewing tasktrackers should not be under "job"

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

Dmytro Molkov updated MAPREDUCE-974:
------------------------------------

    Attachment: MAPRED-974.patch
                MAPRED-974.patch.common

This patch consists of 2 parts. First one (MAPRED-974.patch) is the mapred modifications, the second one is modifications in launch scripts in common.

> CLI command for viewing tasktrackers should not be under "job"
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Amar Kamat
>            Assignee: Dmytro Molkov
>         Attachments: MAPRED-974.patch, MAPRED-974.patch.common
>
>
> For viewing the tasktrackers in a mr cluster the command available is "./bin/hadoop job -list-tracker". But the tracker info is cluster level info and not job level. 

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


[jira] Commented: (MAPREDUCE-974) CLI command for viewing tasktrackers should not be under "job"

Posted by "Dmytro Molkov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762297#action_12762297 ] 

Dmytro Molkov commented on MAPREDUCE-974:
-----------------------------------------

Well, so we can create a new tool called MRShell that will handle all non job and non admin related stuff, like getting cluster/tracker information, etc.
We can move the existing commands there.

If this is the plan I am willing to work on a patch for it.

> CLI command for viewing tasktrackers should not be under "job"
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Amar Kamat
>
> For viewing the tasktrackers in a mr cluster the command available is "./bin/hadoop job -list-tracker". But the tracker info is cluster level info and not job level. 

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


[jira] Commented: (MAPREDUCE-974) CLI command for viewing tasktrackers should not be under "job"

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762521#action_12762521 ] 

Amar Kamat commented on MAPREDUCE-974:
--------------------------------------

Yes. Either MRShell or simply mr (similar to bin/hadoop fs).

> CLI command for viewing tasktrackers should not be under "job"
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Amar Kamat
>
> For viewing the tasktrackers in a mr cluster the command available is "./bin/hadoop job -list-tracker". But the tracker info is cluster level info and not job level. 

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


[jira] Commented: (MAPREDUCE-974) CLI command for viewing tasktrackers should not be under "job"

Posted by "Dmytro Molkov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775141#action_12775141 ] 

Dmytro Molkov commented on MAPREDUCE-974:
-----------------------------------------

This change also requires updating both mapreduce and common project.
It is only the mapred script that has to be patched in common, but they still have to go in together.

> CLI command for viewing tasktrackers should not be under "job"
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Amar Kamat
>            Assignee: Dmytro Molkov
>
> For viewing the tasktrackers in a mr cluster the command available is "./bin/hadoop job -list-tracker". But the tracker info is cluster level info and not job level. 

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


[jira] Commented: (MAPREDUCE-974) CLI command for viewing tasktrackers should not be under "job"

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762095#action_12762095 ] 

Amar Kamat commented on MAPREDUCE-974:
--------------------------------------

Not sure though. *mradmin* is for admins. _-list-active-trackers_ and _-list-blacklisted-trackers_ can be used by anyone which is also true for _-list-trackers_. I think we should introduce a switch called *mr* similar to *fs* for querying MapReduce. Thoughts?

> CLI command for viewing tasktrackers should not be under "job"
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Amar Kamat
>
> For viewing the tasktrackers in a mr cluster the command available is "./bin/hadoop job -list-tracker". But the tracker info is cluster level info and not job level. 

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


[jira] Assigned: (MAPREDUCE-974) CLI command for viewing tasktrackers should not be under "job"

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

Dmytro Molkov reassigned MAPREDUCE-974:
---------------------------------------

    Assignee: Dmytro Molkov

> CLI command for viewing tasktrackers should not be under "job"
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Amar Kamat
>            Assignee: Dmytro Molkov
>
> For viewing the tasktrackers in a mr cluster the command available is "./bin/hadoop job -list-tracker". But the tracker info is cluster level info and not job level. 

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


[jira] Commented: (MAPREDUCE-974) CLI command for viewing tasktrackers should not be under "job"

Posted by "Dmytro Molkov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761668#action_12761668 ] 

Dmytro Molkov commented on MAPREDUCE-974:
-----------------------------------------

There are currently 2 commands
	[-list-active-trackers]
	[-list-blacklisted-trackers]
And with the MAPRED-892 I want to add the third one
	[-list-trackers]

They all are cluster level commands rather than job level.
Do you think it would make sense to move all of them from job to mradmin?


> CLI command for viewing tasktrackers should not be under "job"
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Amar Kamat
>
> For viewing the tasktrackers in a mr cluster the command available is "./bin/hadoop job -list-tracker". But the tracker info is cluster level info and not job level. 

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


[jira] Commented: (MAPREDUCE-974) CLI command for viewing tasktrackers should not be under "job"

Posted by "Dmytro Molkov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774424#action_12774424 ] 

Dmytro Molkov commented on MAPREDUCE-974:
-----------------------------------------

How can we 'deprecate' the old usage without moving it away in case some tools rely on bin/hadoop job -list-active-trackers?

> CLI command for viewing tasktrackers should not be under "job"
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Amar Kamat
>            Assignee: Dmytro Molkov
>
> For viewing the tasktrackers in a mr cluster the command available is "./bin/hadoop job -list-tracker". But the tracker info is cluster level info and not job level. 

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