You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2011/09/07 22:25:10 UTC

[jira] [Created] (HADOOP-7615) Binary layout does not put share/hadoop/contrib/*.jar into the class path

Binary layout does not put share/hadoop/contrib/*.jar into the class path
-------------------------------------------------------------------------

                 Key: HADOOP-7615
                 URL: https://issues.apache.org/jira/browse/HADOOP-7615
             Project: Hadoop Common
          Issue Type: Bug
          Components: scripts
    Affects Versions: 0.20.204.0, 0.23.0
         Environment: Java, Linux
            Reporter: Eric Yang
            Assignee: Eric Yang
             Fix For: 0.20.205.0


For contrib projects, contrib jar files are not included in HADOOP_CLASSPATH in the binary layout.  Several projects jar files should be copied to $HADOOP_PREFIX/share/hadoop/lib for binary deployment.  The interesting jar files to include in $HADOOP_PREFIX/share/hadoop/lib are: capacity-scheduler, thriftfs, fairscheduler.

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

        

[jira] [Commented] (HADOOP-7615) Binary layout does not put share/hadoop/contrib/*.jar into the class path

Posted by "Joep Rottinghuis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099741#comment-13099741 ] 

Joep Rottinghuis commented on HADOOP-7615:
------------------------------------------

Are you proposing to leave them in their current location and add them to the classpath through hadoop-env.sh, or to move them into common/lib for 0.20 and hadoop-mapreduce/lib for 0.22, 0.23, and beyond?
Should we anticipate any side-effects ( for example to have both schedulers on the CP)?

> Binary layout does not put share/hadoop/contrib/*.jar into the class path
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-7615
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7615
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.20.204.0, 0.23.0
>         Environment: Java, Linux
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.205.0
>
>
> For contrib projects, contrib jar files are not included in HADOOP_CLASSPATH in the binary layout.  Several projects jar files should be copied to $HADOOP_PREFIX/share/hadoop/lib for binary deployment.  The interesting jar files to include in $HADOOP_PREFIX/share/hadoop/lib are: capacity-scheduler, thriftfs, fairscheduler.

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

        

[jira] [Commented] (HADOOP-7615) Binary layout does not put share/hadoop/contrib/*.jar into the class path

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107338#comment-13107338 ] 

Devaraj Das commented on HADOOP-7615:
-------------------------------------

Committed this to the branch-0.20-security and branch-0.20-security-205 branches. Keeping the issue open to track the commit on trunk.

> Binary layout does not put share/hadoop/contrib/*.jar into the class path
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-7615
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7615
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.20.204.0, 0.23.0
>         Environment: Java, Linux
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7615.patch
>
>
> For contrib projects, contrib jar files are not included in HADOOP_CLASSPATH in the binary layout.  Several projects jar files should be copied to $HADOOP_PREFIX/share/hadoop/lib for binary deployment.  The interesting jar files to include in $HADOOP_PREFIX/share/hadoop/lib are: capacity-scheduler, thriftfs, fairscheduler.

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

        

[jira] [Commented] (HADOOP-7615) Binary layout does not put share/hadoop/contrib/*.jar into the class path

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104006#comment-13104006 ] 

Matt Foley commented on HADOOP-7615:
------------------------------------

+1 lgtm for 20-sec and 205.  Re trunk, Eric says, "This is currently not possible to generate for trunk due to yarn packaging and mapreduce structure layout is not finalized/working."


> Binary layout does not put share/hadoop/contrib/*.jar into the class path
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-7615
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7615
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.20.204.0, 0.23.0
>         Environment: Java, Linux
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7615.patch
>
>
> For contrib projects, contrib jar files are not included in HADOOP_CLASSPATH in the binary layout.  Several projects jar files should be copied to $HADOOP_PREFIX/share/hadoop/lib for binary deployment.  The interesting jar files to include in $HADOOP_PREFIX/share/hadoop/lib are: capacity-scheduler, thriftfs, fairscheduler.

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

        

[jira] [Updated] (HADOOP-7615) Binary layout does not put share/hadoop/contrib/*.jar into the class path

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

Eric Yang updated HADOOP-7615:
------------------------------

    Status: Patch Available  (was: Open)

> Binary layout does not put share/hadoop/contrib/*.jar into the class path
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-7615
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7615
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.20.204.0, 0.23.0
>         Environment: Java, Linux
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7615.patch
>
>
> For contrib projects, contrib jar files are not included in HADOOP_CLASSPATH in the binary layout.  Several projects jar files should be copied to $HADOOP_PREFIX/share/hadoop/lib for binary deployment.  The interesting jar files to include in $HADOOP_PREFIX/share/hadoop/lib are: capacity-scheduler, thriftfs, fairscheduler.

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

        

[jira] [Updated] (HADOOP-7615) Binary layout does not put share/hadoop/contrib/*.jar into the class path

Posted by "Matt Foley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated HADOOP-7615:
-------------------------------

    Target Version/s: 0.20.205.0, 0.23.0
    
> Binary layout does not put share/hadoop/contrib/*.jar into the class path
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-7615
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7615
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.20.204.0, 0.23.0
>         Environment: Java, Linux
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7615.patch
>
>
> For contrib projects, contrib jar files are not included in HADOOP_CLASSPATH in the binary layout.  Several projects jar files should be copied to $HADOOP_PREFIX/share/hadoop/lib for binary deployment.  The interesting jar files to include in $HADOOP_PREFIX/share/hadoop/lib are: capacity-scheduler, thriftfs, fairscheduler.

--
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] (HADOOP-7615) Binary layout does not put share/hadoop/contrib/*.jar into the class path

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

Eric Yang updated HADOOP-7615:
------------------------------

    Attachment: HADOOP-7615.patch

Customize thrift, fair scheduler, and capacity scheduler to put their jar files in $PREFIX/share/hadoop/lib for binary layout, or $PREFIX/lib for tar layout.

> Binary layout does not put share/hadoop/contrib/*.jar into the class path
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-7615
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7615
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.20.204.0, 0.23.0
>         Environment: Java, Linux
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7615.patch
>
>
> For contrib projects, contrib jar files are not included in HADOOP_CLASSPATH in the binary layout.  Several projects jar files should be copied to $HADOOP_PREFIX/share/hadoop/lib for binary deployment.  The interesting jar files to include in $HADOOP_PREFIX/share/hadoop/lib are: capacity-scheduler, thriftfs, fairscheduler.

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

        

[jira] [Commented] (HADOOP-7615) Binary layout does not put share/hadoop/contrib/*.jar into the class path

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

Hadoop QA commented on HADOOP-7615:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12494273/HADOOP-7615.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 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/171//console

This message is automatically generated.

> Binary layout does not put share/hadoop/contrib/*.jar into the class path
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-7615
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7615
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.20.204.0, 0.23.0
>         Environment: Java, Linux
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7615.patch
>
>
> For contrib projects, contrib jar files are not included in HADOOP_CLASSPATH in the binary layout.  Several projects jar files should be copied to $HADOOP_PREFIX/share/hadoop/lib for binary deployment.  The interesting jar files to include in $HADOOP_PREFIX/share/hadoop/lib are: capacity-scheduler, thriftfs, fairscheduler.

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

        

[jira] [Commented] (HADOOP-7615) Binary layout does not put share/hadoop/contrib/*.jar into the class path

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099755#comment-13099755 ] 

Eric Yang commented on HADOOP-7615:
-----------------------------------

Owen recommended to put the jar files into $HADOOP_PREFIX/share/hadoop/$project/lib to reduce custom script to construct class path for contrib projects.  For capacity-scheduler and fair scheduler, the package path are clean and independent from each other, there shouldn't be any issue to have both on the class path.

> Binary layout does not put share/hadoop/contrib/*.jar into the class path
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-7615
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7615
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.20.204.0, 0.23.0
>         Environment: Java, Linux
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.205.0
>
>
> For contrib projects, contrib jar files are not included in HADOOP_CLASSPATH in the binary layout.  Several projects jar files should be copied to $HADOOP_PREFIX/share/hadoop/lib for binary deployment.  The interesting jar files to include in $HADOOP_PREFIX/share/hadoop/lib are: capacity-scheduler, thriftfs, fairscheduler.

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