Fixed Zookeeper loadbalance issue. 31/48231/1 release-2.5.5
authorVikram Potturi(apotturi) <vp9004@att.com>
Fri, 18 May 2018 23:05:21 +0000 (19:05 -0400)
committerVikram Potturi(apotturi) <vp9004@att.com>
Fri, 18 May 2018 23:05:21 +0000 (19:05 -0400)
Change-Id: I50e20eb4aca2eb9eceb2e29b21703352f4a4a971
Issue-ID: MUSIC-73
Signed-off-by: Vikram Potturi(apotturi) <vp9004@att.com>
jar/pom.xml
jar/src/main/java/org/onap/music/main/MusicUtil.java

index 7cb9da6..d2d7452 100644 (file)
@@ -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>
index fe799c4..f18570d 100755 (executable)
@@ -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"));
        }