hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r890561 - in /hadoop/common/trunk: CHANGES.txt bin/hadoop bin/hdfs
Date Mon, 14 Dec 2009 23:46:28 GMT
Author: tomwhite
Date: Mon Dec 14 23:46:28 2009
New Revision: 890561

URL: http://svn.apache.org/viewvc?rev=890561&view=rev
Log:
HADOOP-6391. Classpath should not be part of command line arguments. Contributed by Cristian
Ivascu.

Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/bin/hadoop
    hadoop/common/trunk/bin/hdfs

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=890561&r1=890560&r2=890561&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Mon Dec 14 23:46:28 2009
@@ -86,6 +86,9 @@
     HADOOP-6414. Add command line help for -expunge command.
     (Ravi Phulari via tomwhite)
 
+    HADOOP-6391. Classpath should not be part of command line arguments.
+    (Cristian Ivascu via tomwhite)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/bin/hadoop
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/bin/hadoop?rev=890561&r1=890560&r2=890561&view=diff
==============================================================================
--- hadoop/common/trunk/bin/hadoop (original)
+++ hadoop/common/trunk/bin/hadoop Mon Dec 14 23:46:28 2009
@@ -112,7 +112,8 @@
     if $cygwin; then
       CLASSPATH=`cygpath -p -w "$CLASSPATH"`
     fi
-    exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS -classpath "$CLASSPATH" $CLASS "$@"
+    export CLASSPATH=$CLASSPATH
+    exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS $CLASS "$@"
     ;;
 
 esac

Modified: hadoop/common/trunk/bin/hdfs
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/bin/hdfs?rev=890561&r1=890560&r2=890561&view=diff
==============================================================================
--- hadoop/common/trunk/bin/hdfs (original)
+++ hadoop/common/trunk/bin/hdfs Mon Dec 14 23:46:28 2009
@@ -106,5 +106,5 @@
 if $cygwin; then
   CLASSPATH=`cygpath -p -w "$CLASSPATH"`
 fi
-
-exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS -classpath "$CLASSPATH" $CLASS "$@"
+export CLASSPATH=$CLASSPATH
+exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS $CLASS "$@"



Mime
View raw message