Skip to content

Commit 9153e53

Browse files
committed
HADOOP-9215. when using cmake-2.6, libhadoop.so doesn't get created (only libhadoop.so.1.0.0). Contributed by Colin Patrick McCabe.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1434530 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4432272 commit 9153e53

File tree

5 files changed

+15
-0
lines changed
  • hadoop-common-project/hadoop-common
  • hadoop-hdfs-project/hadoop-hdfs
  • hadoop-tools/hadoop-pipes
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager

5 files changed

+15
-0
lines changed

hadoop-common-project/hadoop-common/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,9 @@ Release 2.0.3-alpha - Unreleased
560560
HADOOP-9193. hadoop script can inadvertently expand wildcard arguments
561561
when delegating to hdfs script. (Andy Isaacson via todd)
562562

563+
HADOOP-9215. when using cmake-2.6, libhadoop.so doesn't get created
564+
(only libhadoop.so.1.0.0) (Colin Patrick McCabe via todd)
565+
563566
Release 2.0.2-alpha - 2012-09-07
564567

565568
INCOMPATIBLE CHANGES

hadoop-common-project/hadoop-common/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,9 @@
526526
<exec executable="make" dir="${project.build.directory}/native" failonerror="true">
527527
<arg line="VERBOSE=1"/>
528528
</exec>
529+
<!-- The second make is a workaround for HADOOP-9215. It can
530+
be removed when version 2.6 of cmake is no longer supported . -->
531+
<exec executable="make" dir="${project.build.directory}/native" failonerror="true"></exec>
529532
</target>
530533
</configuration>
531534
</execution>

hadoop-hdfs-project/hadoop-hdfs/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,9 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
566566
<exec executable="make" dir="${project.build.directory}/native" failonerror="true">
567567
<arg line="VERBOSE=1"/>
568568
</exec>
569+
<!-- The second make is a workaround for HADOOP-9215. It can
570+
be removed when version 2.6 of cmake is no longer supported . -->
571+
<exec executable="make" dir="${project.build.directory}/native" failonerror="true"></exec>
569572
</target>
570573
</configuration>
571574
</execution>

hadoop-tools/hadoop-pipes/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@
5757
<exec executable="make" dir="${project.build.directory}/native" failonerror="true">
5858
<arg line="VERBOSE=1"/>
5959
</exec>
60+
<!-- The second make is a workaround for HADOOP-9215. It can
61+
be removed when version 2.6 of cmake is no longer supported . -->
62+
<exec executable="make" dir="${project.build.directory}/native" failonerror="true"></exec>
6063
</target>
6164
</configuration>
6265
</execution>

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
<exec executable="make" dir="${project.build.directory}/native" failonerror="true">
6868
<arg line="VERBOSE=1"/>
6969
</exec>
70+
<!-- The second make is a workaround for HADOOP-9215. It can
71+
be removed when version 2.6 of cmake is no longer supported . -->
72+
<exec executable="make" dir="${project.build.directory}/native" failonerror="true"></exec>
7073
</target>
7174
</configuration>
7275
</execution>

0 commit comments

Comments
 (0)