You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2016/04/01 00:16:23 UTC
[12/50] [abbrv] incubator-trafodion git commit: Update
trafodion_install
Update trafodion_install
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/accd1570
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/accd1570
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/accd1570
Branch: refs/heads/master
Commit: accd1570f1c7831eeb35ebbe83787d1147becf0d
Parents: 362aef5
Author: mashengchen <ma...@gmail.com>
Authored: Wed Mar 16 00:56:34 2016 +0800
Committer: mashengchen <ma...@gmail.com>
Committed: Wed Mar 16 00:56:34 2016 +0800
----------------------------------------------------------------------
install/installer/trafodion_install | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/accd1570/install/installer/trafodion_install
----------------------------------------------------------------------
diff --git a/install/installer/trafodion_install b/install/installer/trafodion_install
index 4bb6649..1d9a43e 100755
--- a/install/installer/trafodion_install
+++ b/install/installer/trafodion_install
@@ -103,11 +103,12 @@ do
exit -1
fi
else
- supportedHBase=$(echo $version | grep "1.1.1" | wc -l)
- if [[ $supportedHBase -eq "0" ]]; then
- echo "***ERROR: HBase installed must be 1.1.1 on node $node"
+ supportedHBase=${version:0:3}
+ if [[ $supportedHBase -ne "1.1" ]]; then
+ echo "***ERROR: HBase installed must be 1.1.x on node $node"
exit -1
fi
+
fi
else
supportedHBase=$(echo $version | grep "0.98.4" | wc -l)