You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/08/06 21:02:04 UTC

[jira] [Created] (HBASE-14192) HBASE REST Cluster Constructor with String List

Rick Kellogg created HBASE-14192:
------------------------------------

             Summary: HBASE REST Cluster Constructor with String List
                 Key: HBASE-14192
                 URL: https://issues.apache.org/jira/browse/HBASE-14192
             Project: HBase
          Issue Type: Bug
          Components: REST
    Affects Versions: 1.1.0.1, 1.1.1, 0.98.13, 1.1.0, 1.0.1, 1.0.0
            Reporter: Rick Kellogg
            Priority: Minor


The HBase REST Cluster which takes a list of hostname colon port numbers is not setting the internal list of nodes correctly.

Existing method:

public Cluster(List<String> nodes) {
   nodes.addAll(nodes)
}

Corrected method:

public Cluster(List<String> nodes) {
   this.nodes.addAll(nodes)
}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)