소스 검색

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 년 전
부모
커밋
2025d4e032
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  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.
     (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)
 
   OPTIMIZATIONS
@@ -449,6 +449,9 @@ Trunk (unreleased changes)
     HADOOP-7468 hadoop-core JAR contains a log4j.properties file.
     (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
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-common/pom.xml

@@ -250,7 +250,7 @@
           <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
           <argLine>-Xmx1024m</argLine>
           <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>
           <systemPropertyVariables>