hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r792302 - in /hadoop/common/trunk: CHANGES.txt build.xml
Date Wed, 08 Jul 2009 20:35:27 GMT
Author: mahadev
Date: Wed Jul  8 20:35:26 2009
New Revision: 792302

URL: http://svn.apache.org/viewvc?rev=792302&view=rev
Log:
HADOOP-6131. A sysproperty should not be set unless the property is set on the ant command
line in build.xml (hong tang via mahadev)

Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/build.xml

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=792302&r1=792301&r2=792302&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Wed Jul  8 20:35:26 2009
@@ -868,6 +868,9 @@
     HADOOP-6114. Fix javadoc documentation for FileStatus.getLen.
     (Dmitry Rzhevskiy via dhruba)
 
+    HADOOP-6131. A sysproperty should not be set unless the property 
+    is set on the ant command line in build.xml (hong tang via mahadev)
+
 Release 0.20.1 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/build.xml?rev=792302&r1=792301&r2=792302&view=diff
==============================================================================
--- hadoop/common/trunk/build.xml (original)
+++ hadoop/common/trunk/build.xml Wed Jul  8 20:35:26 2009
@@ -507,8 +507,10 @@
       <sysproperty key="java.library.path"
        value="${build.native}/lib:${lib.dir}/native/${build.platform}"/>
       <sysproperty key="install.c++.examples" value="${install.c++.examples}"/>
-      <sysproperty key="io.compression.codec.lzo.class"
-		  value="${io.compression.codec.lzo.class}"/>
+      <!-- set io.compression.codec.lzo.class in the child jvm only if it is set -->
+      <syspropertyset dynamic="no">
+         <propertyref name="io.compression.codec.lzo.class"/>
+      </syspropertyset>
       <!-- set compile.c++ in the child jvm only if it is set -->
       <syspropertyset dynamic="no">
          <propertyref name="compile.c++"/>



Mime
View raw message