[
https://issues.apache.org/jira/browse/KNOX-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426940#comment-16426940
]
Phil Zampino commented on KNOX-1239:
------------------------------------
HBaseZookeeperURLManager hard-codes the ZooKeeper namespace to /hbase-unsecure,
ignoring the value configured in the WEBHBASE HA provider or service
configuration.
HBaseZookeeperURLManager should instead get the namespace from its
HaServiceConfig.
> [Service Discovery] Generated topology deployment fails, if the descriptor
> files is configured with WEBHBASE
> ------------------------------------------------------------------------------------------------------------
>
> Key: KNOX-1239
> URL: https://issues.apache.org/jira/browse/KNOX-1239
> Project: Apache Knox
> Issue Type: Bug
> Affects Versions: 0.14.0
> Reporter: J.Andreina
> Assignee: Phil Zampino
> Priority: Blocker
> Fix For: 1.1.0
>
>
> When WEBHBASE is configured in descriptor json file, then the generated
> topology has following content but the deployment fails.
> {noformat}
> <role>WEBHBASE</role>
> <param>
> <name>zookeeperEnsemble</name>
> <value>host1:2181,host2:2181,host3:2181</value>
> </param>
> <param>
> <name>zookeeperNamespace</name>
> <value>/hbase-secure</value>
> </param>
> {noformat}
> *LOGS:
> ======*
> {noformat}
> 2018-04-04 22:49:21,123 ERROR curator.ConnectionState
> (ConnectionState.java:checkState(304)) - Authentication failed
> 2018-04-04 22:49:21,128 ERROR knox.gateway
> (HBaseZookeeperURLManager.java:retrieveHosts(105)) - Failed to get Zookeeper
> URLs : org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode
> = NoNode for /hbase-unsecure/rs
>
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)