accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1346089 - /accumulo/branches/1.4/bin/config.sh
Date Mon, 04 Jun 2012 19:02:34 GMT
Author: ecn
Date: Mon Jun  4 19:02:33 2012
New Revision: 1346089

URL: http://svn.apache.org/viewvc?rev=1346089&view=rev
Log:
ACCUMULO-615 remove the check for hadoop 0.20

Modified:
    accumulo/branches/1.4/bin/config.sh

Modified: accumulo/branches/1.4/bin/config.sh
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/bin/config.sh?rev=1346089&r1=1346088&r2=1346089&view=diff
==============================================================================
--- accumulo/branches/1.4/bin/config.sh (original)
+++ accumulo/branches/1.4/bin/config.sh Mon Jun  4 19:02:33 2012
@@ -52,7 +52,7 @@ fi
 if [ -z "$HADOOP_HOME" ]
 then
    HADOOP_HOME="`which hadoop`"
-   if [ -z "$HADOOP_HOME"]
+   if [ -z "$HADOOP_HOME" ]
    then
       echo "You must set HADOOP_HOME"
       exit 1
@@ -67,11 +67,6 @@ then
 fi
 export HADOOP_HOME
 
-if [ "`$HADOOP_HOME/bin/hadoop version 2>/dev/null | head -1 | cut -f 2 -d .`" != 20 ];
then
-    echo "Accumulo $ACCUMULO_VERSION requires Hadoop version 0.20.x"
-    exit 1
-fi
-
 if [ ! -f "$ACCUMULO_HOME/conf/masters" -o ! -f "$ACCUMULO_HOME/conf/slaves" ]
 then
     if [ ! -f "$ACCUMULO_HOME/conf/masters" -a ! -f "$ACCUMULO_HOME/conf/slaves" ]



Mime
View raw message