onValidation(node, port);
Configuration hadoopConf = new Configuration();
hadoopConf.set("hbase.master", node + ":" + port);
Connection conn = HBasePropertyReader.hsmd.getDataStore() != null ? HBasePropertyReader.hsmd.getDataStore()
.getConnection() : null;
if (conn != null && conn.getProperties() != null)
{
String zookeeperHost = conn.getProperties().getProperty("hbase.zookeeper.quorum").trim();
String zookeeperPort = conn.getProperties().getProperty("hbase.zookeeper.property.clientPort").trim();
hadoopConf.set("hbase.zookeeper.quorum", zookeeperHost != null ? zookeeperHost : node);
hadoopConf.set("hbase.zookeeper.property.clientPort", zookeeperPort != null ? zookeeperPort
: DEFAULT_ZOOKEEPER_PORT);
}
else