aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikram Potturi(apotturi) <vp9004@att.com>2018-05-18 19:05:21 -0400
committerVikram Potturi(apotturi) <vp9004@att.com>2018-05-18 19:05:21 -0400
commit067e18e954ffd6bbf90416e6922c06e5a43b49df (patch)
tree3dd971ae1a2e18df9fd87ad468c71dea33093ce8
parentaf1f679d513167a7f649c39a968c527652f03710 (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>
-rw-r--r--jar/pom.xml2
-rwxr-xr-xjar/src/main/java/org/onap/music/main/MusicUtil.java4
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 @@
<groupId>org.onap.music</groupId>
<artifactId>MUSIC</artifactId>
<packaging>jar</packaging>
- <version>2.5.4</version>
+ <version>2.5.5</version>
<description>
This is the MUSIC interface, packaged as a jar file.
</description>
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"));
}