diff options
author | sunil unnava <sunil.unnava@att.com> | 2018-11-23 16:40:05 -0500 |
---|---|---|
committer | sunil unnava <sunil.unnava@att.com> | 2018-11-23 16:40:24 -0500 |
commit | 1e6634c90047e8c340b904c1b8f5b07a3fe8b08e (patch) | |
tree | 84ae555f7d0ef840e63c92a1e826f27ef90eeef6 /src/main/docker/scripts/start-zookeeper.sh | |
parent | b8c642ebe54f23bb0f6e8696e8486ac357716b41 (diff) |
Changes to ZK config generation
Issue-ID: DMAAP-888
Change-Id: I470263b6d5e0b114e89397614b1066f6344d9efe
Signed-off-by: sunil unnava <sunil.unnava@att.com>
Diffstat (limited to 'src/main/docker/scripts/start-zookeeper.sh')
-rw-r--r-- | src/main/docker/scripts/start-zookeeper.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/docker/scripts/start-zookeeper.sh b/src/main/docker/scripts/start-zookeeper.sh index d77ec03..5222c78 100644 --- a/src/main/docker/scripts/start-zookeeper.sh +++ b/src/main/docker/scripts/start-zookeeper.sh @@ -116,9 +116,8 @@ function create_data_dirs() { chown -R $ZK_USER:$ZK_USER $ZK_LOG_DIR fi - if [ ! -f $ID_FILE ]; then echo $MY_ID >> $ID_FILE - fi + cat $ID_FILE echo "Created ZooKeeper data directories and set permissions in $ZK_DATA_DIR" } |