hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077021 - /hadoop/common/branches/branch-0.20-security-patches/bin/hadoop
Date Fri, 04 Mar 2011 03:31:00 GMT
Author: omalley
Date: Fri Mar  4 03:31:00 2011
New Revision: 1077021

URL: http://svn.apache.org/viewvc?rev=1077021&view=rev
Log:
commit 61ac769d1dd69f138d36378b2ce57b2d1efc8359
Author: Hemanth Yamijala <yhemanth@apache.org>
Date:   Thu Oct 15 16:26:26 2009 +0530

    HADOOP:6284 from http://issues.apache.org/jira/secure/attachment/12421342/HADOOP-6284-y0.20.1.patch
    
    +++ b/YAHOO-CHANGES.txt
    +69. HADOOP-6284. Add a new parameter, HADOOP_JAVA_PLATFORM_OPTS, to
    +    hadoop-config.sh so that it allows setting java command options for
    +    JAVA_PLATFORM.  (Koji Noguchi via szetszwo)
    +

Modified:
    hadoop/common/branches/branch-0.20-security-patches/bin/hadoop

Modified: hadoop/common/branches/branch-0.20-security-patches/bin/hadoop
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/bin/hadoop?rev=1077021&r1=1077020&r2=1077021&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/bin/hadoop (original)
+++ hadoop/common/branches/branch-0.20-security-patches/bin/hadoop Fri Mar  4 03:31:00 2011
@@ -263,7 +263,7 @@ fi
 # setup 'java.library.path' for native-hadoop code if necessary
 JAVA_LIBRARY_PATH=''
 if [ -d "${HADOOP_HOME}/build/native" -o -d "${HADOOP_HOME}/lib/native" ]; then
-  JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} ${JAVA} -Xmx32m org.apache.hadoop.util.PlatformName
| sed -e "s/ /_/g"`
+  JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} ${JAVA} -Xmx32m ${HADOOP_JAVA_PLATFORM_OPTS} org.apache.hadoop.util.PlatformName
| sed -e "s/ /_/g"`
   
   if [ -d "$HADOOP_HOME/build/native" ]; then
     JAVA_LIBRARY_PATH=${HADOOP_HOME}/build/native/${JAVA_PLATFORM}/lib



Mime
View raw message