Browse Source

HADOOP-7508. Compiled nativelib is in wrong directory and it is not picked up by surefire setup. Contributed by Alejandro Abdelnur.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1153689 13f79535-47bb-0310-9956-ffa450edef68
Thomas White 14 years ago
parent
commit
2025d4e032
2 changed files with 5 additions and 2 deletions
  1. 4 1
      hadoop-common/CHANGES.txt
  2. 1 1
      hadoop-common/pom.xml

+ 4 - 1
hadoop-common/CHANGES.txt

@@ -306,7 +306,7 @@ Trunk (unreleased changes)
     HADOOP-7502. Make generated sources IDE friendly.
     HADOOP-7502. Make generated sources IDE friendly.
     (Alejandro Abdelnur via llu)
     (Alejandro Abdelnur via llu)
 
 
-    HADOOP-7501. publish Hadoop Common artifacts (post HADOOP-6671) to Apache
+    HADOOP-7501. Publish Hadoop Common artifacts (post HADOOP-6671) to Apache
     SNAPSHOTs repo. (Alejandro Abdelnur via tomwhite)
     SNAPSHOTs repo. (Alejandro Abdelnur via tomwhite)
 
 
   OPTIMIZATIONS
   OPTIMIZATIONS
@@ -449,6 +449,9 @@ Trunk (unreleased changes)
     HADOOP-7468 hadoop-core JAR contains a log4j.properties file.
     HADOOP-7468 hadoop-core JAR contains a log4j.properties file.
     (Jolly Chen)
     (Jolly Chen)
 
 
+    HADOOP-7508. Compiled nativelib is in wrong directory and it is not picked
+    up by surefire setup. (Alejandro Abdelnur via tomwhite)
+
 Release 0.22.0 - Unreleased
 Release 0.22.0 - Unreleased
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-common/pom.xml

@@ -250,7 +250,7 @@
           <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
           <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
           <argLine>-Xmx1024m</argLine>
           <argLine>-Xmx1024m</argLine>
           <environmentVariables>
           <environmentVariables>
-            <LD_LIBRARY_PATH>${env.LD_LIBRARY_PATH}:${project.build.directory}/native/lib</LD_LIBRARY_PATH>
+            <LD_LIBRARY_PATH>${env.LD_LIBRARY_PATH}:${project.build.directory}/native/target/usr/local/lib</LD_LIBRARY_PATH>
           </environmentVariables>
           </environmentVariables>
           <systemPropertyVariables>
           <systemPropertyVariables>