hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1242226 - in /hadoop/common/branches/branch-1.0: CHANGES.txt build.xml src/packages/rpm/spec/hadoop.spec
Date Thu, 09 Feb 2012 06:29:19 GMT
Author: mattf
Date: Thu Feb  9 06:29:18 2012
New Revision: 1242226

URL: http://svn.apache.org/viewvc?rev=1242226&view=rev
Log:
reverting HADOOP-8037

Modified:
    hadoop/common/branches/branch-1.0/CHANGES.txt
    hadoop/common/branches/branch-1.0/build.xml
    hadoop/common/branches/branch-1.0/src/packages/rpm/spec/hadoop.spec

Modified: hadoop/common/branches/branch-1.0/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0/CHANGES.txt?rev=1242226&r1=1242225&r2=1242226&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1.0/CHANGES.txt Thu Feb  9 06:29:18 2012
@@ -35,10 +35,6 @@ Release 1.0.1 - 2012.02.08
     HADOOP-8010. hadoop-config.sh errors when HADOOP_HOME_WARN_SUPPRESS is set 
     to true and HADOOP_HOME is present. (Roman Shaposhnik via mattf)
 
-    HADOOP-8037. Binary tarball does not preserve platform info for native builds,
-    and RPMs fail to provide needed symlinks for libhadoop.so. (Giridharan Kesavan
-    via mattf)
-
 Release 1.0.0 - 2011.12.15
 
   NEW FEATURES

Modified: hadoop/common/branches/branch-1.0/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0/build.xml?rev=1242226&r1=1242225&r2=1242226&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0/build.xml (original)
+++ hadoop/common/branches/branch-1.0/build.xml Thu Feb  9 06:29:18 2012
@@ -1610,13 +1610,12 @@
   </target>
 
   <target name="bin-package" depends="compile, jar, examples, tools-jar, jar-test, ant-tasks,
package-librecordio" 
-               description="assembles artifacts for binary target">
+		description="assembles artifacts for binary target">
+    <delete dir="${dist.dir}"/>
     <mkdir dir="${dist.dir}"/>
     <mkdir dir="${dist.dir}/bin"/>
     <mkdir dir="${dist.dir}/etc/hadoop"/>
     <mkdir dir="${dist.dir}/lib"/>
-    <mkdir dir="${dist.dir}/lib/native"/>
-    <mkdir dir="${dist.dir}/lib/native/${build.platform}"/>
     <mkdir dir="${dist.dir}/libexec"/>
     <mkdir dir="${dist.dir}/sbin"/>
     <mkdir dir="${dist.dir}/share/${name}/contrib"/>
@@ -1646,7 +1645,7 @@
       <arg line="${native.src.dir}/packageNativeHadoop.sh"/>
     </exec>
 
-    <move todir="${dist.dir}/lib/native/${build.platform}" flatten="true">
+    <move todir="${dist.dir}/lib" flatten="true">
       <fileset dir="${dist.dir}/native">
         <include name="*/*"/>
       </fileset>
@@ -1707,7 +1706,7 @@
       </fileset>
     </copy>
 
-    <copy todir="${dist.dir}/lib/native/${build.platform}" includeEmptyDirs="false" flatten="true">
+    <copy todir="${dist.dir}/lib" includeEmptyDirs="false" flatten="true">
       <fileset dir="${build.dir}/c++">
         <include name="**/lib/*"/>
       </fileset>

Modified: hadoop/common/branches/branch-1.0/src/packages/rpm/spec/hadoop.spec
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0/src/packages/rpm/spec/hadoop.spec?rev=1242226&r1=1242225&r2=1242226&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0/src/packages/rpm/spec/hadoop.spec (original)
+++ hadoop/common/branches/branch-1.0/src/packages/rpm/spec/hadoop.spec Thu Feb  9 06:29:18
2012
@@ -141,19 +141,6 @@ chmod 0755 ${RPM_BUILD_DIR}/%{_final_nam
 #### INSTALL SECTION ####
 #########################
 %install
-%ifarch i386
-mv  ${RPM_BUILD_DIR}/%{_final_name}/lib/native/%{hadoop_arch}/lib*  ${RPM_BUILD_DIR}%{_lib_dir}
-rm -rf ${RPM_BUILD_DIR}/%{_final_name}/lib
-rm -rf ${RPM_BUILD_DIR}/%{_final_name}/c++
-
-%endif
-
-%ifarch amd64 x86_64
-mv  ${RPM_BUILD_DIR}/%{_final_name}/lib/native/%{hadoop_arch}/lib*  ${RPM_BUILD_DIR}%{_lib64_dir}
-rm -rf ${RPM_BUILD_DIR}/%{_final_name}/lib
-rm -rf ${RPM_BUILD_DIR}/%{_final_name}/c++
-%endif
-
 mv ${RPM_BUILD_DIR}/%{_final_name}/etc/hadoop/* ${RPM_BUILD_DIR}%{_conf_dir}
 mv ${RPM_BUILD_DIR}/%{_final_name}/* ${RPM_BUILD_DIR}%{_prefix}
 



Mime
View raw message