You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by am...@apache.org on 2016/08/19 19:04:10 UTC
[8/9] incubator-trafodion git commit: TRAFODION 2168 CDH VERSION set
to 5.5 when on 5.7 system
TRAFODION 2168 CDH VERSION set to 5.5 when on 5.7 system
Can not use "." in variable names in shell.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/0a2284e7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/0a2284e7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/0a2284e7
Branch: refs/heads/master
Commit: 0a2284e73ad4152380574da20e72ee5009cf09a9
Parents: f4575e4
Author: Amanda Moran <am...@apache.com>
Authored: Thu Aug 18 19:12:57 2016 +0000
Committer: Amanda Moran <am...@apache.com>
Committed: Thu Aug 18 19:12:57 2016 +0000
----------------------------------------------------------------------
install/installer/trafodion_install | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/0a2284e7/install/installer/trafodion_install
----------------------------------------------------------------------
diff --git a/install/installer/trafodion_install b/install/installer/trafodion_install
index 14e0e13..7b34017 100755
--- a/install/installer/trafodion_install
+++ b/install/installer/trafodion_install
@@ -119,13 +119,13 @@ do
if [[ $HADOOP_TYPE == "cloudera" ]]; then
if [[ $CDH_5_3_HDP_2_2_SUPPORT == "N" ]]; then
if [[ $CDH_5_4_SUPPORT == "Y" ]] || [[ $CDH_5_5_SUPPORT == "Y" ]] || [[ $CDH_5_7_SUPPORT == "Y" ]]; then
- supportedHBase1.2=$(echo $version | grep "1.2" | wc -l)
- supportedHBase1.0=$(echo $version | grep "1.0" | wc -l)
- if [[ $supportedHBase1.2 -eq "0" ]] && [[ $supportedHBase1.0 -eq "0" ]]; then
+ supportedHBase12=$(echo $version | grep "1.2" | wc -l)
+ supportedHBase10=$(echo $version | grep "1.0" | wc -l)
+ if [[ $supportedHBase12 -eq "0" ]] && [[ $supportedHBase10 -eq "0" ]]; then
echo "***ERROR: HBase installed must be 1.2.* or 1.0.* on node $node"
exit -1
fi
- if [[ $supportedHBase1.2 -eq "1" ]]; then
+ if [[ $supportedHBase12 -eq "1" ]]; then
CDH_VERSION="5.7"
else
cdhVersion=$(ssh -q -n $node grep "Version" $HOME/hbaseVersion.txt | grep "cdh5.4.*" | wc -l)