hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7374) Don't add tools.jar to the classpath when running Hadoop
Date Sun, 12 Jun 2011 11:14:51 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048298#comment-13048298
] 

Hudson commented on HADOOP-7374:
--------------------------------

Integrated in Hadoop-Common-trunk #717 (See [https://builds.apache.org/job/Hadoop-Common-trunk/717/])
    HADOOP-7374. Don't add tools.jar to the classpath when running Hadoop. Contributed by
Eli Collins

eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1134861
Files : 
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/bin/hadoop-config.sh
* /hadoop/common/trunk/bin/rcc


> Don't add tools.jar to the classpath when running Hadoop
> --------------------------------------------------------
>
>                 Key: HADOOP-7374
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7374
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>             Fix For: 0.23.0
>
>         Attachments: hadoop-7374-1.patch
>
>
> bin/hadoop-config.sh (and bin/rcc) add lib/tools.jar from JAVA_HOME to the classpath.
This has been there since the initial commit of bin/hadoop, but I don't think it's needed.
*Executing* Hadoop does not depend on tools.jar (or other libraries only available in the
JDK, not the JRE) so let's not automatically add it. Marking this as an incompatible change
since a job could potentially have relied on Hadoop adding tools.jar to the CLASSPATH automatically
(though such a job would not have run on a system that did not have JAVA_HOME point to a jdk).
The build of course still requires a JDK.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message