[ 
https://issues.apache.org/jira/browse/KNOX-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phil Zampino resolved KNOX-1271.
--------------------------------
    Resolution: Fixed

> 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)

Reply via email to