Hadoop Common
  1. Hadoop Common
  2. HADOOP-8438

hadoop-validate-setup.sh refers to examples jar file which doesn't exist

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha, 3.0.0
    • Fix Version/s: 3.0.0, 2.0.2-alpha
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      hadoop-validate-setup.sh is trying to find the file with the name hadoop-examples-*.jar and it is failing to find because the examples jar is renamed to hadoop-mapreduce-examples-*.jar.

      linux-rj72:/home/hadoop/hadoop-3.0.0-SNAPSHOT/sbin # ./hadoop-validate-setup.sh
      find: `/usr/share/hadoop': No such file or directory
      Did not find hadoop-examples-*.jar under '/home/hadoop-3.0.0-SNAPSHOT or '/usr/share/hadoop'
      linux-rj72:/home/hadoop-3.0.0-SNAPSHOT/sbin #
      

        Activity

        Hide
        Devaraj K added a comment -

        I have updated with the patch to fix the issue.

        Show
        Devaraj K added a comment - I have updated with the patch to fix the issue.
        Hide
        Hadoop QA added a comment -

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

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

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

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

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

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

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

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

        -1 core tests. The patch failed these unit tests in hadoop-common-project/hadoop-common:

        org.apache.hadoop.fs.viewfs.TestViewFsTrash

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

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

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12529697/HADOOP-8438.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The javadoc tool did not generate any warning messages. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests in hadoop-common-project/hadoop-common: org.apache.hadoop.fs.viewfs.TestViewFsTrash +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1035//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1035//console This message is automatically generated.
        Hide
        Devaraj K added a comment -
        -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.
        

        It doesn't need new tests since it is script change. I have verified it manually.

        -1 core tests. The patch failed these unit tests in hadoop-common-project/hadoop-common:
        
        org.apache.hadoop.fs.viewfs.TestViewFsTrash
        

        This test failure is not related to the patch.

        Show
        Devaraj K added a comment - -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. It doesn't need new tests since it is script change. I have verified it manually. -1 core tests. The patch failed these unit tests in hadoop-common-project/hadoop-common: org.apache.hadoop.fs.viewfs.TestViewFsTrash This test failure is not related to the patch.
        Hide
        Uma Maheswara Rao G added a comment -

        +1, change looks good.

        Show
        Uma Maheswara Rao G added a comment - +1, change looks good.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2409 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2409/)
        HADOOP-8438. hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K.

        Submitted by: Devaraj K
        Reviewed by: Uma Maheswara Rao G (Revision 1355211)

        Result = SUCCESS
        umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2409 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2409/ ) HADOOP-8438 . hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K. Submitted by: Devaraj K Reviewed by: Uma Maheswara Rao G (Revision 1355211) Result = SUCCESS umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
        Hide
        Uma Maheswara Rao G added a comment -

        I have just committed this to trunk and branch-2. Thanks a lot Devaraj K.

        Show
        Uma Maheswara Rao G added a comment - I have just committed this to trunk and branch-2. Thanks a lot Devaraj K.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2477 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2477/)
        HADOOP-8438. hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K.

        Submitted by: Devaraj K
        Reviewed by: Uma Maheswara Rao G (Revision 1355211)

        Result = SUCCESS
        umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2477 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2477/ ) HADOOP-8438 . hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K. Submitted by: Devaraj K Reviewed by: Uma Maheswara Rao G (Revision 1355211) Result = SUCCESS umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2426 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2426/)
        HADOOP-8438. hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K.

        Submitted by: Devaraj K
        Reviewed by: Uma Maheswara Rao G (Revision 1355211)

        Result = FAILURE
        umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2426 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2426/ ) HADOOP-8438 . hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K. Submitted by: Devaraj K Reviewed by: Uma Maheswara Rao G (Revision 1355211) Result = FAILURE umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1091 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1091/)
        HADOOP-8438. hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K.

        Submitted by: Devaraj K
        Reviewed by: Uma Maheswara Rao G (Revision 1355211)

        Result = FAILURE
        umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1091 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1091/ ) HADOOP-8438 . hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K. Submitted by: Devaraj K Reviewed by: Uma Maheswara Rao G (Revision 1355211) Result = FAILURE umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1124 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1124/)
        HADOOP-8438. hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K.

        Submitted by: Devaraj K
        Reviewed by: Uma Maheswara Rao G (Revision 1355211)

        Result = FAILURE
        umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1124 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1124/ ) HADOOP-8438 . hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed by Devaraj K. Submitted by: Devaraj K Reviewed by: Uma Maheswara Rao G (Revision 1355211) Result = FAILURE umamahesh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355211 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh

          People

          • Assignee:
            Devaraj K
            Reporter:
            Devaraj K
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development