rzo1 commented on code in PR #3560: URL: https://github.com/apache/storm/pull/3560#discussion_r1289613565
########## storm-client/src/jvm/org/apache/storm/utils/CuratorUtils.java: ########## @@ -75,29 +72,7 @@ public List<ACL> getAclForPath(String s) { protected static void setupBuilder(CuratorFrameworkFactory.Builder builder, final String zkStr, Map<String, Object> conf, ZookeeperAuthInfo auth) { - List<String> exhibitorServers = ObjectReader.getStrings(conf.get(Config.STORM_EXHIBITOR_SERVERS)); - if (!exhibitorServers.isEmpty()) { - // use exhibitor servers - builder.ensembleProvider(new ExhibitorEnsembleProvider( - new Exhibitors(exhibitorServers, - ObjectReader.getInt(conf.get(Config.STORM_EXHIBITOR_PORT)), - new Exhibitors.BackupConnectionStringProvider() { - @Override - public String getBackupConnectionString() throws Exception { - // use zk servers as backup if they exist - return zkStr; - } - }), - new DefaultExhibitorRestClient(), - ObjectReader.getString(conf.get(Config.STORM_EXHIBITOR_URIPATH)), - ObjectReader.getInt(conf.get(Config.STORM_EXHIBITOR_POLL)), - new StormBoundedExponentialBackoffRetry( Review Comment: fixed ########## storm-client/src/jvm/org/apache/storm/utils/CuratorUtils.java: ########## @@ -75,29 +72,7 @@ public List<ACL> getAclForPath(String s) { protected static void setupBuilder(CuratorFrameworkFactory.Builder builder, final String zkStr, Map<String, Object> conf, ZookeeperAuthInfo auth) { - List<String> exhibitorServers = ObjectReader.getStrings(conf.get(Config.STORM_EXHIBITOR_SERVERS)); - if (!exhibitorServers.isEmpty()) { - // use exhibitor servers - builder.ensembleProvider(new ExhibitorEnsembleProvider( - new Exhibitors(exhibitorServers, - ObjectReader.getInt(conf.get(Config.STORM_EXHIBITOR_PORT)), - new Exhibitors.BackupConnectionStringProvider() { - @Override - public String getBackupConnectionString() throws Exception { - // use zk servers as backup if they exist - return zkStr; - } - }), - new DefaultExhibitorRestClient(), - ObjectReader.getString(conf.get(Config.STORM_EXHIBITOR_URIPATH)), Review Comment: fixed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@storm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org