hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umamah...@apache.org
Subject svn commit: r1355211 - in /hadoop/common/trunk/hadoop-common-project/hadoop-common: CHANGES.txt src/main/packages/hadoop-validate-setup.sh
Date Fri, 29 Jun 2012 02:38:38 GMT
Author: umamahesh
Date: Fri Jun 29 02:38:37 2012
New Revision: 1355211

URL: http://svn.apache.org/viewvc?rev=1355211&view=rev
Log:
HADOOP-8438. hadoop-validate-setup.sh refers to examples jar file which doesn't exist. Contributed
by Devaraj K.

Submitted by: Devaraj K	
Reviewed by:	Uma Maheswara Rao G

Modified:
    hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
    hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt?rev=1355211&r1=1355210&r2=1355211&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt Fri Jun 29 02:38:37
2012
@@ -273,6 +273,9 @@ Branch-2 ( Unreleased changes )
     HADOOP-8168. empty-string owners or groups causes {{MissingFormatWidthException}} 
     in o.a.h.fs.shell.Ls.ProcessPath() (ekoontz via tucu)
 
+    HADOOP-8438. hadoop-validate-setup.sh refers to examples jar file which doesn't exist
+    (Devaraj K via umamahesh)
+
   BREAKDOWN OF HDFS-3042 SUBTASKS
 
     HADOOP-8220. ZKFailoverController doesn't handle failure to become active

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh?rev=1355211&r1=1355210&r2=1355211&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
(original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/hadoop-validate-setup.sh
Fri Jun 29 02:38:37 2012
@@ -94,12 +94,12 @@ HADOOP_CMD="${HADOOP_PREFIX}/bin/hadoop 
 HADOOP_EXAMPLES_JAR=''
 
 #find under HADOOP_PREFIX (tar ball install)
-HADOOP_EXAMPLES_JAR=`find ${HADOOP_PREFIX} -name 'hadoop-examples-*.jar' | head -n1`
+HADOOP_EXAMPLES_JAR=`find ${HADOOP_PREFIX} -name 'hadoop-mapreduce-examples-*.jar' | head
-n1`
 
 #if its not found look under /usr/share/hadoop (rpm/deb installs)
 if [ "$HADOOP_EXAMPLES_JAR" == '' ]
 then
-  HADOOP_EXAMPLES_JAR=`find /usr/share/hadoop -name 'hadoop-examples-*.jar' | head -n1`
+  HADOOP_EXAMPLES_JAR=`find /usr/share/hadoop -name 'hadoop-mapreduce-examples-*.jar' | head
-n1`
 fi
 
 #if it is still empty then dont run the tests



Mime
View raw message