Ver Fonte

MAPREDUCE-3374. src/c++/task-controller/configure is not set executable in the tarball and that prevents task-controller from rebuilding. Contributed by Roman Shaposhnik.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security@1200079 13f79535-47bb-0310-9956-ffa450edef68
Matthew Foley há 13 anos atrás
pai
commit
a544eb412a
2 ficheiros alterados com 6 adições e 1 exclusões
  1. 4 0
      CHANGES.txt
  2. 2 1
      build.xml

+ 4 - 0
CHANGES.txt

@@ -92,6 +92,10 @@ Release 0.20.205.1 - unreleased
 
   BUG FIXES
 
+    MAPREDUCE-3374. src/c++/task-controller/configure is not set executable in 
+    the tarball and that prevents task-controller from rebuilding. 
+    (Roman Shaposhnik via Matt Foley)
+
     HDFS-1943. Fail to start datanode while start-dfs.sh is executed by root
     user. (Wei Yongjun's patch updated by Matt Foley)
 

+ 2 - 1
build.xml

@@ -2629,8 +2629,9 @@
       <arg value="-i"/>
     </exec>
     <mkdir dir="${build.c++.task-controller}" />
-    <exec executable="${c++.task-controller.src}/configure"
+    <exec executable="/bin/sh"
           dir="${build.c++.task-controller}">
+      <arg value="${c++.task-controller.src}/configure"/>
       <arg value="--prefix=${task-controller.prefix.dir}"/>
       <env key="CFLAGS" 
            value="-DHADOOP_CONF_DIR=${hadoop.conf.dir}"/>