You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2016/02/10 21:33:18 UTC

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

    [ https://issues.apache.org/jira/browse/HBASE-14192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141608#comment-15141608 ] 

Andrew Purtell commented on HBASE-14192:
----------------------------------------

This is a silly bug with a trivial fix. Let me just do that and commit now. 

> 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.0.0, 1.0.1, 1.1.0, 0.98.13, 1.1.1, 1.1.0.1
>            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)