You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/04/24 13:50:00 UTC

[jira] [Commented] (KNOX-1271) AtlasZookeeperURLManager doesn't handle empty namespace value correctly

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

ASF subversion and git services commented on KNOX-1271:
-------------------------------------------------------

Commit 31e8dc07f86f5c68f82f868c6dded3919b5a516c in knox's branch refs/heads/master from [~pzampino]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=31e8dc0 ]

KNOX-1271 - AtlasZookeeperURLManager not handling empty namespace config values correctly


> AtlasZookeeperURLManager doesn't handle empty namespace value correctly
> -----------------------------------------------------------------------
>
>                 Key: KNOX-1271
>                 URL: https://issues.apache.org/jira/browse/KNOX-1271
>             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 descriptor is configured with ATLAS service, and the associated zookeeper namespace is not defined in the Atlas configuration, the AtlasZookeeperURLManager isn't applying the default namespace correctly.
>  Hence the topology deployment fails with below log
> {noformat}
> 2018-04-24 08:27:46,465 ERROR curator.ConnectionState (ConnectionState.java:checkState(304)) - Authentication failed
> 2018-04-24 08:27:50,853 ERROR curator.ConnectionState (ConnectionState.java:checkState(304)) - Authentication failed
> 2018-04-24 08:27:50,856 ERROR knox.gateway (AtlasZookeeperURLManager.java:lookupURLs(84)) - Failed to get Zookeeper URLs : java.lang.IllegalArgumentException: Invalid path string "//active_server_info" caused by empty node name specified @1
> {noformat}
> {noformat}
>  <service>
>  <role>ATLAS</role>
>  <param>
>  <name>zookeeperEnsemble</name>
> <value>host1:2181,host2:2181,host3:2181</value>
>  </param>
>  </service>
> <service>
>  <role>ATLAS-API</role>
>  <param>
>  <name>zookeeperEnsemble</name>
>  <value>host1:2181,host2:2181,host3:2181</value>
>  </param>
>  </service>
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)