Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13177

Native tests fail on OS X, because DYLD_LIBRARY_PATH is not defined to include libhadoop.dylib.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: build
    • Labels:
      None
    • Target Version/s:

      Description

      OS X uses DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH to control the dynamic link path. If we set DYLD_LIBRARY_PATH in the test configuration, then we can run native tests on Mac.

        Issue Links

          Activity

          Hide
          cnauroth Chris Nauroth added a comment -

          I'm attaching a patch with just the Surefire configuration changes spun out of HDFS-3296.

          Show
          cnauroth Chris Nauroth added a comment - I'm attaching a patch with just the Surefire configuration changes spun out of HDFS-3296 .
          Hide
          aw Allen Wittenauer added a comment -

          +1, given I'm already running this patch. lol

          Show
          aw Allen Wittenauer added a comment - +1, given I'm already running this patch. lol
          Hide
          cnauroth Chris Nauroth added a comment -

          Haha, thanks. I'll commit after I get a pre-commit response.

          Show
          cnauroth Chris Nauroth added a comment - Haha, thanks. I'll commit after I get a pre-commit response.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 13s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          -1 test4tests 0m 0s 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 mvninstall 6m 49s trunk passed
          +1 compile 0m 7s trunk passed
          +1 mvnsite 0m 10s trunk passed
          +1 mvneclipse 0m 9s trunk passed
          +1 javadoc 0m 9s trunk passed
          +1 mvninstall 0m 6s the patch passed
          +1 compile 0m 6s the patch passed
          +1 javac 0m 5s the patch passed
          +1 mvnsite 0m 8s the patch passed
          +1 mvneclipse 0m 6s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 xml 0m 1s The patch has no ill-formed XML file.
          +1 javadoc 0m 7s the patch passed
          +1 unit 0m 6s hadoop-project in the patch passed.
          +1 asflicense 0m 15s The patch does not generate ASF License warnings.
          9m 0s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:2c91fd8
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12804782/HADOOP-13177.001.patch
          JIRA Issue HADOOP-13177
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
          uname Linux d0bca2d9897f 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 010e6ac
          Default Java 1.8.0_91
          Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/9497/testReport/
          modules C: hadoop-project U: hadoop-project
          Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/9497/console
          Powered by Apache Yetus 0.3.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 13s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s 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 mvninstall 6m 49s trunk passed +1 compile 0m 7s trunk passed +1 mvnsite 0m 10s trunk passed +1 mvneclipse 0m 9s trunk passed +1 javadoc 0m 9s trunk passed +1 mvninstall 0m 6s the patch passed +1 compile 0m 6s the patch passed +1 javac 0m 5s the patch passed +1 mvnsite 0m 8s the patch passed +1 mvneclipse 0m 6s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 1s The patch has no ill-formed XML file. +1 javadoc 0m 7s the patch passed +1 unit 0m 6s hadoop-project in the patch passed. +1 asflicense 0m 15s The patch does not generate ASF License warnings. 9m 0s Subsystem Report/Notes Docker Image:yetus/hadoop:2c91fd8 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12804782/HADOOP-13177.001.patch JIRA Issue HADOOP-13177 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux d0bca2d9897f 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 010e6ac Default Java 1.8.0_91 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/9497/testReport/ modules C: hadoop-project U: hadoop-project Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/9497/console Powered by Apache Yetus 0.3.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 13s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          -1 test4tests 0m 0s 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 mvninstall 7m 11s trunk passed
          +1 compile 0m 7s trunk passed
          +1 mvnsite 0m 11s trunk passed
          +1 mvneclipse 0m 8s trunk passed
          +1 javadoc 0m 9s trunk passed
          +1 mvninstall 0m 6s the patch passed
          +1 compile 0m 5s the patch passed
          +1 javac 0m 5s the patch passed
          +1 mvnsite 0m 9s the patch passed
          +1 mvneclipse 0m 7s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 xml 0m 2s The patch has no ill-formed XML file.
          +1 javadoc 0m 6s the patch passed
          +1 unit 0m 5s hadoop-project in the patch passed.
          +1 asflicense 0m 16s The patch does not generate ASF License warnings.
          9m 27s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:2c91fd8
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12804782/HADOOP-13177.001.patch
          JIRA Issue HADOOP-13177
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
          uname Linux 3f0fef595a9a 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 1597630
          Default Java 1.8.0_91
          Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/9502/testReport/
          modules C: hadoop-project U: hadoop-project
          Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/9502/console
          Powered by Apache Yetus 0.3.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 13s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s 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 mvninstall 7m 11s trunk passed +1 compile 0m 7s trunk passed +1 mvnsite 0m 11s trunk passed +1 mvneclipse 0m 8s trunk passed +1 javadoc 0m 9s trunk passed +1 mvninstall 0m 6s the patch passed +1 compile 0m 5s the patch passed +1 javac 0m 5s the patch passed +1 mvnsite 0m 9s the patch passed +1 mvneclipse 0m 7s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 2s The patch has no ill-formed XML file. +1 javadoc 0m 6s the patch passed +1 unit 0m 5s hadoop-project in the patch passed. +1 asflicense 0m 16s The patch does not generate ASF License warnings. 9m 27s Subsystem Report/Notes Docker Image:yetus/hadoop:2c91fd8 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12804782/HADOOP-13177.001.patch JIRA Issue HADOOP-13177 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux 3f0fef595a9a 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 1597630 Default Java 1.8.0_91 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/9502/testReport/ modules C: hadoop-project U: hadoop-project Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/9502/console Powered by Apache Yetus 0.3.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          aw Allen Wittenauer added a comment -

          Committed to trunk

          Thanks!

          Show
          aw Allen Wittenauer added a comment - Committed to trunk Thanks!
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #9821 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9821/)
          HADOOP-13177. Native tests fail on OS X, because DYLD_LIBRARY_PATH is (aw: rev c7159f0240be0c555edf01d9a580987b0997125d)

          • hadoop-project/pom.xml
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #9821 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9821/ ) HADOOP-13177 . Native tests fail on OS X, because DYLD_LIBRARY_PATH is (aw: rev c7159f0240be0c555edf01d9a580987b0997125d) hadoop-project/pom.xml
          Hide
          cnauroth Chris Nauroth added a comment -

          Thanks, Allen. I cherry-picked this to branch-2 and branch-2.8, so that you would not have to experience the horror of checking out the branches that you find so repugnant.

          Show
          cnauroth Chris Nauroth added a comment - Thanks, Allen. I cherry-picked this to branch-2 and branch-2.8, so that you would not have to experience the horror of checking out the branches that you find so repugnant.

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development