Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

HADOOP-5564. Limit the JVM heap size in the java command for initiali…

…zing JAVA_PLATFORM. (Suresh Srinivas via szetszwo)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.20@757960 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 32a4e27cd355e6591f6d8b8b5177a68238edf60e 1 parent f508abc
Tsz-wo Sze authored
Showing with 4 additions and 1 deletion.
  1. +3 −0  CHANGES.txt
  2. +1 −1  bin/hadoop
View
3  CHANGES.txt
@@ -796,6 +796,9 @@ Release 0.20.0 - Unreleased
HADOOP-5484. TestRecoveryManager fails wtih FileAlreadyExistsException.
(Amar Kamat via hairong)
+ HADOOP-5564. Limit the JVM heap size in the java command for initializing
+ JAVA_PLATFORM. (Suresh Srinivas via szetszwo)
+
Release 0.19.2 - Unreleased
BUG FIXES
View
2  bin/hadoop
@@ -255,7 +255,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} org.apache.hadoop.util.PlatformName | sed -e "s/ /_/g"`
+ JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} ${JAVA} -Xmx32m 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
Please sign in to comment.
Something went wrong with that request. Please try again.