diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-09-28 15:51:43 +0000 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-09-28 15:52:37 +0000 |
commit | 9c485b637845ae2c6881f0408834e908a003a275 (patch) | |
tree | 0096f511d7d64d2f9013a5caaf2603a0ad9f1024 | |
parent | 392c7d25bae9e19cb1dcbbe303ed4c64944c92b0 (diff) |
Fix the hbase startup issue using docker image
Problem where running on two vms
there seems to be connectivity issues
Fixed that as well as be able to run locally
Issue-ID: AAI-397
Change-Id: I52df5f0c0d29e6295d94c04a009ededbaabe7fbe
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rwxr-xr-x | deploy_vm2.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deploy_vm2.sh b/deploy_vm2.sh index 5de0e8d..f790c35 100755 --- a/deploy_vm2.sh +++ b/deploy_vm2.sh @@ -9,7 +9,7 @@ fi export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1); export HBASE_IMAGE="${HBASE_IMAGE:-aaionap/hbase}"; -export HBASE_VERSION="${HBASE_VERSION:-1.0.0}"; +export HBASE_VERSION="${HBASE_VERSION:-1.2.0}"; function wait_for_container() { @@ -41,7 +41,8 @@ $DOCKER_COMPOSE_CMD stop $DOCKER_COMPOSE_CMD rm -f -v HBASE_CONTAINER_NAME=$($DOCKER_COMPOSE_CMD up -d aai.hbase.simpledemo.openecomp.org 2>&1 | grep 'Creating' | grep -v 'volume' | grep -v 'network' | awk '{ print $2; }' | head -1); -#wait_for_container $HBASE_CONTAINER_NAME '^starting regionserver'; -wait_for_container $HBASE_CONTAINER_NAME 'HBase metrics system started'; +wait_for_container $HBASE_CONTAINER_NAME ' Started SelectChannelConnector@0.0.0.0:8085'; +wait_for_container $HBASE_CONTAINER_NAME ' Started SelectChannelConnector@0.0.0.0:8080'; +wait_for_container $HBASE_CONTAINER_NAME ' Started SelectChannelConnector@0.0.0.0:9095'; $DOCKER_COMPOSE_CMD up -d aai.elasticsearch.simpledemo.openecomp.org |