Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hadoop-deployer committed Oct 26, 2012
1 parent ac30bcf commit fe48e76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cdh4/bin/myscp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

if [ $# -ne 2 ]; then
echo "USAGE: $0 filename SERVER_NAME";
echo "eg.: $0 main.cpp kpi11";
echo "eg.: $0 main.cpp host1";
exit 1;
fi

Expand Down
4 changes: 2 additions & 2 deletions cdh4/support/deploy_hadoop_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ fi
# Tar包
if IS_32 ; then
#JAVA_TAR="jdk-7u3-linux-i586.tar.gz"
JAVA_TAR=`find_tar "jdk-.*-linux-i586"`
JAVA_TAR=`find_tar "jdk.*86"`
else
#JAVA_TAR="jdk-7u3-linux-x64.tar.gz"
JAVA_TAR=`find_tar "jdk-.*-linux-x64"`
JAVA_TAR=`find_tar "jdk.*x64"`
fi

#HADOOP_TAR="hadoop-2.0.0-cdh4.0.0.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion cdh4/support/deploy_zookeeper_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi
. $DEPLOYER_HOME/support/PUB.sh

##### tar package #####
ZK_TAR="zookeeper-3.4.3-cdh4.0.0.tar.gz"
ZK_TAR=`find_tar "zookeeper.*-cdh4.*"
ZK_VERSION=${ZK_TAR%.tar.gz}
##### conf file #####
Expand Down

0 comments on commit fe48e76

Please sign in to comment.