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 "Harsh J (JIRA)" <ji...@apache.org> on 2012/07/09 21:19:36 UTC

[jira] [Created] (MAPREDUCE-4414) Add main methods to JobConf and YarnConfiguration, for debug purposes

Harsh J created MAPREDUCE-4414:
----------------------------------

             Summary: Add main methods to JobConf and YarnConfiguration, for debug purposes
                 Key: MAPREDUCE-4414
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4414
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: client
    Affects Versions: 2.0.0-alpha
            Reporter: Harsh J


Just like Configuration has a main() func that dumps XML out for debug purposes, we should have a similar function under the JobConf and YarnConfiguration classes that do the same. This is useful in testing out app classpath setups at times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (MAPREDUCE-4414) Add main methods to JobConf and YarnConfiguration, for debug purposes

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

Plamen Jeliazkov reassigned MAPREDUCE-4414:
-------------------------------------------

    Assignee: Plamen Jeliazkov  (was: Linden Hillenbrand)
    
> Add main methods to JobConf and YarnConfiguration, for debug purposes
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4414
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4414
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Harsh J
>            Assignee: Plamen Jeliazkov
>              Labels: newbie
>
> Just like Configuration has a main() func that dumps XML out for debug purposes, we should have a similar function under the JobConf and YarnConfiguration classes that do the same. This is useful in testing out app classpath setups at times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (MAPREDUCE-4414) Add main methods to JobConf and YarnConfiguration, for debug purposes

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

Linden Hillenbrand reassigned MAPREDUCE-4414:
---------------------------------------------

    Assignee: Linden Hillenbrand
    
> Add main methods to JobConf and YarnConfiguration, for debug purposes
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4414
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4414
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Harsh J
>            Assignee: Linden Hillenbrand
>              Labels: newbie
>
> Just like Configuration has a main() func that dumps XML out for debug purposes, we should have a similar function under the JobConf and YarnConfiguration classes that do the same. This is useful in testing out app classpath setups at times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-4414) Add main methods to JobConf and YarnConfiguration, for debug purposes

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

Plamen Jeliazkov updated MAPREDUCE-4414:
----------------------------------------

    Status: Patch Available  (was: Open)
    
> Add main methods to JobConf and YarnConfiguration, for debug purposes
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4414
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4414
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Harsh J
>            Assignee: Plamen Jeliazkov
>              Labels: newbie
>         Attachments: MAPREDUCE-4144.patch
>
>
> Just like Configuration has a main() func that dumps XML out for debug purposes, we should have a similar function under the JobConf and YarnConfiguration classes that do the same. This is useful in testing out app classpath setups at times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4414) Add main methods to JobConf and YarnConfiguration, for debug purposes

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

Hadoop QA commented on MAPREDUCE-4414:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12543758/MAPREDUCE-4144.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2812//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2812//console

This message is automatically generated.
                
> Add main methods to JobConf and YarnConfiguration, for debug purposes
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4414
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4414
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Harsh J
>            Assignee: Plamen Jeliazkov
>              Labels: newbie
>         Attachments: MAPREDUCE-4144.patch
>
>
> Just like Configuration has a main() func that dumps XML out for debug purposes, we should have a similar function under the JobConf and YarnConfiguration classes that do the same. This is useful in testing out app classpath setups at times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4414) Add main methods to JobConf and YarnConfiguration, for debug purposes

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

Harsh J commented on MAPREDUCE-4414:
------------------------------------

Hey Linden,

Thanks for picking this up! If you need any help, do holler. Patch should be pretty similar to Shengsheng's HBASE-6363 patches (the main method alone suffices).

Thanks again :)
                
> Add main methods to JobConf and YarnConfiguration, for debug purposes
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4414
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4414
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Harsh J
>            Assignee: Linden Hillenbrand
>              Labels: newbie
>
> Just like Configuration has a main() func that dumps XML out for debug purposes, we should have a similar function under the JobConf and YarnConfiguration classes that do the same. This is useful in testing out app classpath setups at times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-4414) Add main methods to JobConf and YarnConfiguration, for debug purposes

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

Plamen Jeliazkov updated MAPREDUCE-4414:
----------------------------------------

    Attachment: MAPREDUCE-4144.patch
    
> Add main methods to JobConf and YarnConfiguration, for debug purposes
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4414
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4414
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Harsh J
>            Assignee: Plamen Jeliazkov
>              Labels: newbie
>         Attachments: MAPREDUCE-4144.patch
>
>
> Just like Configuration has a main() func that dumps XML out for debug purposes, we should have a similar function under the JobConf and YarnConfiguration classes that do the same. This is useful in testing out app classpath setups at times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira