diff options
author | Vikram Potturi(apotturi) <vp9004@att.com> | 2018-05-18 19:05:21 -0400 |
---|---|---|
committer | Vikram Potturi(apotturi) <vp9004@att.com> | 2018-05-18 19:05:21 -0400 |
commit | 067e18e954ffd6bbf90416e6922c06e5a43b49df (patch) | |
tree | 3dd971ae1a2e18df9fd87ad468c71dea33093ce8 /jar/src | |
parent | af1f679d513167a7f649c39a968c527652f03710 (diff) |
Fixed Zookeeper loadbalance issue.release-2.5.5
Change-Id: I50e20eb4aca2eb9eceb2e29b21703352f4a4a971
Issue-ID: MUSIC-73
Signed-off-by: Vikram Potturi(apotturi) <vp9004@att.com>
Diffstat (limited to 'jar/src')
-rwxr-xr-x | jar/src/main/java/org/onap/music/main/MusicUtil.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jar/src/main/java/org/onap/music/main/MusicUtil.java b/jar/src/main/java/org/onap/music/main/MusicUtil.java index fe799c4b..f18570db 100755 --- a/jar/src/main/java/org/onap/music/main/MusicUtil.java +++ b/jar/src/main/java/org/onap/music/main/MusicUtil.java @@ -551,8 +551,8 @@ public class MusicUtil { } // get the property value and return it MusicUtil.setMyCassaHost(prop.getProperty("cassandra.host")); - String[] zkHost = prop.getProperty("zookeeper.host").split(","); - MusicUtil.setMyZkHost(zkHost[0]); + String zkHosts = prop.getProperty("zookeeper.host"); + MusicUtil.setMyZkHost(zkHosts); MusicUtil.setCassName(prop.getProperty("cassandra.user")); MusicUtil.setCassPwd(prop.getProperty("cassandra.password")); } |