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

Patrick Hunt commented on HADOOP-8315:
--------------------------------------

Good point. I've filed ZOOKEEPER-1455 and ZOOKEEPER-1456 based on your feedback.

Only workaround I could see would be to make a request to verify whether you 
get an auth failure or not, if you do then wait for the event. It's hacky but 
could be replaced with ZOOKEEPER-1455 when it becomes available. Depends on how 
quickly you need the fix.
                
> Support SASL-authenticated ZooKeeper in ActiveStandbyElector
> ------------------------------------------------------------
>
>                 Key: HADOOP-8315
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8315
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: auto-failover, ha
>    Affects Versions: Auto Failover (HDFS-3042)
>            Reporter: Todd Lipcon
>
> Currently, if you try to use SASL-authenticated ZK with the 
> ActiveStandbyElector, you run into a couple issues:
> 1) We hit ZOOKEEPER-1437 - we need to wait until we see SaslAuthenticated 
> before we can make any requests
> 2) We currently throw a fatalError when we see the SaslAuthenticated callback 
> on the connection watcher
> We need to wait for ZK-1437 upstream, and then upgrade to the fixed version 
> for #1. For #2 we just need to add a case there and ignore it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to