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

Nixon Rodrigues commented on KNOX-1231:
---------------------------------------

I tested the fix provided on (KNOX-1231) by append "/" and without "/" to 
zookeeper namespace in HA provider tag in topology file and working perfectly.

The earlier fix had the issue when zookeeper namespace was appending by "/" 
(zookeeperNamespace=/apache_atlas ).

Now it's working with and without "/"

+1 for the patch

Thanks [~pzampino] for the patch,

> Atlas HA URL Manager breaks if ZooKeeper namespace value begins with /
> ----------------------------------------------------------------------
>
>                 Key: KNOX-1231
>                 URL: https://issues.apache.org/jira/browse/KNOX-1231
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1.0
>            Reporter: Phil Zampino
>            Assignee: Phil Zampino
>            Priority: Major
>             Fix For: 1.1.0
>
>         Attachments: KNOX-1231.patch
>
>
> AtlasZookeeperURLManager always pre-pends '/' to the value of the 
> atlas.server.ha.zookeeper.zkroot config property. The problem is that the 
> default value of this property is '/apache_atlas', and the addition leading 
> '/' breaks the AtlasZookeeperURLManager. The value should be checked, and the 
> '/' only added if it is missing.



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

Reply via email to