summaryrefslogtreecommitdiffstats
path: root/deploy_vm2.sh
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-09-23 02:55:19 +0000
committerVenkata Harish K Kajur <vk250x@att.com>2017-09-23 03:40:01 +0000
commit392c7d25bae9e19cb1dcbbe303ed4c64944c92b0 (patch)
tree4537a9bf30f595853c462b28460d1ca9e4c768c3 /deploy_vm2.sh
parentfccdc6398e7fb54332d99bd284118504e24efcdc (diff)
Change the hbase docker image to aaionap/hbase
Issue-ID: AAI-397 Change-Id: I07b0c1df108db05850bb98e24ec2620488125603 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'deploy_vm2.sh')
-rwxr-xr-xdeploy_vm2.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/deploy_vm2.sh b/deploy_vm2.sh
index 1523aa7..5de0e8d 100755
--- a/deploy_vm2.sh
+++ b/deploy_vm2.sh
@@ -8,8 +8,8 @@ else
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_IMAGE="${HBASE_IMAGE:-harisekhon/hbase}";
+export HBASE_IMAGE="${HBASE_IMAGE:-aaionap/hbase}";
+export HBASE_VERSION="${HBASE_VERSION:-1.0.0}";
function wait_for_container() {
@@ -34,7 +34,7 @@ function wait_for_container() {
done
}
-docker pull ${HBASE_IMAGE};
+docker pull ${HBASE_IMAGE}:${HBASE_VERSION};
# cleanup
$DOCKER_COMPOSE_CMD stop
@@ -42,9 +42,6 @@ $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';
+wait_for_container $HBASE_CONTAINER_NAME 'HBase metrics system started';
$DOCKER_COMPOSE_CMD up -d aai.elasticsearch.simpledemo.openecomp.org