From 067e18e954ffd6bbf90416e6922c06e5a43b49df Mon Sep 17 00:00:00 2001 From: "Vikram Potturi(apotturi)" Date: Fri, 18 May 2018 19:05:21 -0400 Subject: Fixed Zookeeper loadbalance issue. Change-Id: I50e20eb4aca2eb9eceb2e29b21703352f4a4a971 Issue-ID: MUSIC-73 Signed-off-by: Vikram Potturi(apotturi) --- jar/pom.xml | 2 +- jar/src/main/java/org/onap/music/main/MusicUtil.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jar/pom.xml b/jar/pom.xml index 7cb9da6e..d2d74523 100644 --- a/jar/pom.xml +++ b/jar/pom.xml @@ -25,7 +25,7 @@ org.onap.music MUSIC jar - 2.5.4 + 2.5.5 This is the MUSIC interface, packaged as a jar file. 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")); } -- cgit 1.2.3-korg