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 "Aaron Kimball (JIRA)" <ji...@apache.org> on 2009/07/15 22:31:15 UTC

[jira] Created: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

Hadoop scripts do not correctly put jars on the classpath
---------------------------------------------------------

                 Key: HADOOP-6152
                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Aaron Kimball
            Assignee: Aaron Kimball
            Priority: Blocker
         Attachments: HADOOP-6152.patch

The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Status: Open  (was: Patch Available)

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Hadoop QA commented on HADOOP-6152:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12416278/HADOOP-6152.3.patch
  against trunk revision 803296.

    +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 javadoc.  The javadoc tool did not generate any warning messages.

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

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/601/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/601/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/601/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/601/console

This message is automatically generated.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Hadoop QA commented on HADOOP-6152:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12417192/HADOOP-6152.4.patch
  against trunk revision 806368.

    +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 javadoc.  The javadoc tool did not generate any warning messages.

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

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/618/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/618/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/618/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/618/console

This message is automatically generated.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.4.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Hudson commented on HADOOP-6152:
--------------------------------

Integrated in Hadoop-Common-trunk #70 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/70/])
    

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.4.patch, HADOOP-6152.5.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Status: Open  (was: Patch Available)

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Status: Patch Available  (was: Open)

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Status: Open  (was: Patch Available)

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.4.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Hadoop QA commented on HADOOP-6152:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12416220/HADOOP-6152.2.patch
  against trunk revision 803296.

    +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 javadoc.  The javadoc tool did not generate any warning messages.

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

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/599/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/599/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/599/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/599/console

This message is automatically generated.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Jay Booth commented on HADOOP-6152:
-----------------------------------

Seems like hadoop-config.sh doesn't include the contrib jars from hdfs or mapred..  is this by design, are they listed elsewhere?

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Hadoop QA commented on HADOOP-6152:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12417331/HADOOP-6152.5.patch
  against trunk revision 806745.

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

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

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

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

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/623/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/623/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/623/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/623/console

This message is automatically generated.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.4.patch, HADOOP-6152.5.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746979#action_12746979 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-6152:
------------------------------------------------

> Prove that it works: ...
Hi Aaron, I tried an earlier version of the patch (with some additional fixes).  Everything works fine except for the jsp web pages (e.g. http://namenode:50070/dfshealth.jsp).  Have you checked it with your latest patch?

+1 on the latest patch which fixes many problems.   We may commit it first and fix the jsp problem, if there is any, in a new jira.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.4.patch, HADOOP-6152.5.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball commented on HADOOP-6152:
---------------------------------------

This doesn't fix the JSP issue. I think that'll require a separate issue. I've gotten closer to fixing some JSP build-process stuff in my MAPREDUCE-679 and HDFS-453 patches which are as-yet uncommitted. But they still don't totally fix the issue. (To test them, I am manually copying the build/webapps/ and build/classes/ hierarchies on top of one another.)

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.4.patch, HADOOP-6152.5.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball commented on HADOOP-6152:
---------------------------------------

No tests added because we don't have a test framework that works around the end-user package target. 

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Status: Patch Available  (was: Open)

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Attachment: HADOOP-6152.patch

This patch fixes the various bin/* scripts.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742087#action_12742087 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-6152:
------------------------------------------------

Look like that the jar file for tools is in mapreduce but not common.  Could you check it?
{code}
-for f in $HADOOP_CORE_HOME/hadoop-*-tools.jar; do
+for f in $HADOOP_CORE_HOME/hadoop-tools-*.jar; do
   TOOL_PATH=${TOOL_PATH}:$f;
 done
-for f in $HADOOP_CORE_HOME/build/hadoop-*-tools.jar; do
+for f in $HADOOP_CORE_HOME/build/hadoop-tools-*.jar; do
   TOOL_PATH=${TOOL_PATH}:$f;
 done
{code}

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Hadoop QA commented on HADOOP-6152:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12413596/HADOOP-6152.patch
  against trunk revision 793987.

    +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 javadoc.  The javadoc tool did not generate any warning messages.

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

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/574/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/574/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/574/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/574/console

This message is automatically generated.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Status: Patch Available  (was: Open)

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Commented: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742480#action_12742480 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-6152:
------------------------------------------------

The tools jar file name should be something like hadoop-mapred-tools-0.21.0-dev.jar.
{code}
+for f in $HADOOP_MAPRED_HOME/hadoop-tools-*.jar; do
+  TOOL_PATH=${TOOL_PATH}:$f;
+done
+for f in $HADOOP_MAPRED_HOME/build/hadoop-tools-*.jar; do
+  TOOL_PATH=${TOOL_PATH}:$f;
+done
{code}

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Attachment: HADOOP-6152.4.patch

Fixed mapred-tools jar path; attached new patch.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.4.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Attachment: HADOOP-6152.3.patch

Good catch. Adding a new patch that handles this case.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Attachment: HADOOP-6152.2.patch

Attaching new resync'd patch.

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

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

Aaron Kimball updated HADOOP-6152:
----------------------------------

    Status: Patch Available  (was: Open)

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.4.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-6152:
-------------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I have committed this.  Thanks, Aaron!

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6152.2.patch, HADOOP-6152.3.patch, HADOOP-6152.4.patch, HADOOP-6152.5.patch, HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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


[jira] Updated: (HADOOP-6152) Hadoop scripts do not correctly put jars on the classpath

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-6152:
-------------------------------------------

    Component/s: scripts

The patch cannot be applied.  Could you update it?

> Hadoop scripts do not correctly put jars on the classpath
> ---------------------------------------------------------
>
>                 Key: HADOOP-6152
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6152
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Blocker
>         Attachments: HADOOP-6152.patch
>
>
> The various Hadoop scripts (bin/hadoop, bin/hdfs, bin/mapred) do not properly identify the jars needed to run Hadoop. They try to include hadoop-*-hdfs.jar, etc, rather than the hadoop-hdfs-*.jar that is actually created by the 'ant jar' and 'ant package' targets.

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