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 "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2012/09/11 02:55:07 UTC

[jira] [Created] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

Vinod Kumar Vavilapalli created MAPREDUCE-4649:
--------------------------------------------------

             Summary: mr-jobhistory-daemon.sh needs to be updated post YARN-1
                 Key: MAPREDUCE-4649
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobhistoryserver
            Reporter: Vinod Kumar Vavilapalli
            Assignee: Vinod Kumar Vavilapalli


Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli updated MAPREDUCE-4649:
-----------------------------------------------

    Attachment: MAPREDUCE-4649-20120923.txt

Updated patch, ready for review.

Tested together with latest patches at YARN-9 and HADOOP-8794.
                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli updated MAPREDUCE-4649:
-----------------------------------------------

    Status: Open  (was: Patch Available)
    
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli commented on MAPREDUCE-4649:
----------------------------------------------------

bq. On this topic, what is the purpose of mr-jobhistory-daemon ? Is it just for starting the history server ? If yes, then should we really pass in the command to start, like
Yes, today it is only for starting the history server. But the script is generic enough like the rest of the hadoop scripts to start arbitrary command

bq. Can't it just be: mr-jobhistory-daemon.sh start and 'historyserver' is passed internally ? 
Instead I think we should rename it back to a generic mapred-daemon.sh to start arbitrary mapreduce specific daemons. Can you file a ticket?
                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Hudson commented on MAPREDUCE-4649:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #2773 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2773/])
    MAPREDUCE-4649. Ensure MapReduce JobHistory Daemon doens't assume HADOOP_YARN_HOME and HADOOP_MAPRED_HOME are the same. Contributed by Vinod K V. (Revision 1390224)

     Result = SUCCESS
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1390224
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/INSTALL
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred-config.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mr-jobhistory-daemon.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/conf/mapred-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml

                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Hudson commented on MAPREDUCE-4649:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #1208 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1208/])
    MAPREDUCE-4649. Ensure MapReduce JobHistory Daemon doens't assume HADOOP_YARN_HOME and HADOOP_MAPRED_HOME are the same. Contributed by Vinod K V. (Revision 1390224)

     Result = SUCCESS
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1390224
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/INSTALL
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred-config.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mr-jobhistory-daemon.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/conf/mapred-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml

                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Hudson commented on MAPREDUCE-4649:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2836 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2836/])
    MAPREDUCE-4649. Ensure MapReduce JobHistory Daemon doens't assume HADOOP_YARN_HOME and HADOOP_MAPRED_HOME are the same. Contributed by Vinod K V. (Revision 1390224)

     Result = SUCCESS
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1390224
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/INSTALL
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred-config.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mr-jobhistory-daemon.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/conf/mapred-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml

                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli updated MAPREDUCE-4649:
-----------------------------------------------

    Status: Patch Available  (was: Open)
    
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli updated MAPREDUCE-4649:
-----------------------------------------------

    Attachment: MAPREDUCE-4649-20120911.txt

Patch to fix this, was a bit of work.
                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli updated MAPREDUCE-4649:
-----------------------------------------------

    Status: Patch Available  (was: Open)
    
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Arun C Murthy updated MAPREDUCE-4649:
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.2-alpha
           Status: Resolved  (was: Patch Available)

I just committed this. Thanks Vinod!
                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Closed] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Arun C Murthy closed MAPREDUCE-4649.
------------------------------------

    
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli updated MAPREDUCE-4649:
-----------------------------------------------

    Affects Version/s: 2.0.2-alpha
                       0.23.3
    
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli updated MAPREDUCE-4649:
-----------------------------------------------

    Attachment: MAPREDUCE-4649-20120912.txt

Forgot to add YARN jars for the sake of JHS. Fixing that bug now.
                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Hemanth Yamijala commented on MAPREDUCE-4649:
---------------------------------------------

On this topic, what is the purpose of mr-jobhistory-daemon ? Is it just for starting the history server ? If yes, then should we really pass in the command to start, like:

mr-jobhistory-daemon.sh start historyserver

Can't it just be:

mr-jobhistory-daemon.sh start

and 'historyserver' is passed internally ? 
                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Hadoop QA commented on MAPREDUCE-4649:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12546225/MAPREDUCE-4649-20120923.txt
  against trunk revision .

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

    +1 tests included.  The patch appears to include 1 new or modified test files.

    +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-hs.

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

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

This message is automatically generated.
                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Hadoop QA commented on MAPREDUCE-4649:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12544882/MAPREDUCE-4649-20120912.txt
  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 .

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

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

This message is automatically generated.
                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Hudson commented on MAPREDUCE-4649:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #1177 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1177/])
    MAPREDUCE-4649. Ensure MapReduce JobHistory Daemon doens't assume HADOOP_YARN_HOME and HADOOP_MAPRED_HOME are the same. Contributed by Vinod K V. (Revision 1390224)

     Result = SUCCESS
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1390224
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/INSTALL
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred-config.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mr-jobhistory-daemon.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/conf/mapred-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml

                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli updated MAPREDUCE-4649:
-----------------------------------------------

    Status: Patch Available  (was: Open)
    
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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] [Updated] (MAPREDUCE-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Vinod Kumar Vavilapalli updated MAPREDUCE-4649:
-----------------------------------------------

    Status: Open  (was: Patch Available)
    
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Hudson commented on MAPREDUCE-4649:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2795 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2795/])
    MAPREDUCE-4649. Ensure MapReduce JobHistory Daemon doens't assume HADOOP_YARN_HOME and HADOOP_MAPRED_HOME are the same. Contributed by Vinod K V. (Revision 1390224)

     Result = FAILURE
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1390224
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/INSTALL
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred-config.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mr-jobhistory-daemon.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/conf/mapred-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml

                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4649-20120911.txt, MAPREDUCE-4649-20120912.txt, MAPREDUCE-4649-20120923.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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-4649) mr-jobhistory-daemon.sh needs to be updated post YARN-1

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

Hadoop QA commented on MAPREDUCE-4649:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12544725/MAPREDUCE-4649-20120911.txt
  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 .

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

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

This message is automatically generated.
                
> mr-jobhistory-daemon.sh needs to be updated post YARN-1
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: MAPREDUCE-4649-20120911.txt
>
>
> Even today, JHS is assuming that YARN_HOME will be same as HADOOP_MAPRED_HOME besides other such assumptions. We need to fix it.

--
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