hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17789) ZKConfig.getZKQuorumServersStringFromHbaseConfig creates a incorrect zkquorum string
Date Thu, 16 Mar 2017 05:04:41 GMT

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

Andrew Purtell commented on HBASE-17789:

That behavior has changed for invalid input doesn't absolve the user of the API of proper
use. ZkConfig is not a public API. You shouldn't be using it [~vishk] . Your app should do
its own string handling. 

> ZKConfig.getZKQuorumServersStringFromHbaseConfig creates a incorrect zkquorum string
> ------------------------------------------------------------------------------------
>                 Key: HBASE-17789
>                 URL: https://issues.apache.org/jira/browse/HBASE-17789
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Vishal Khandelwal
>            Assignee: Vishal Khandelwal
> , if we try to a hbase using "HBaseAdmin" by reading a value of ""hbase.zookeeper.quorum"
from list peers with value as "a:2181,b:2181c:2181:/hbase". org.apache.hadoop.hbase.zookeeper.ZKConfig.getZKQuorumServersStringFromHbaseConfig
returns a incorrect queryString which causes following exception Because last host would see
 :/hbase also in the string. This method was existing earlier but never being called before
above change

This message was sent by Atlassian JIRA

View raw message