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

Yuxuan Wang commented on HDFS-15756:
------------------------------------

[~hexiaoqiao] As for Yarn, RM will renew token immediately when client submit 
job since it want to verify the token. Maybe Spark is similar?

Our company's zookeeper cluster gain a good performence after backporting 
https://issues.apache.org/jira/browse/HADOOP-16828 and 
https://issues.apache.org/jira/browse/HDFS-15383

And for avoiding renew failed, I throw StandbyException here let client retry 
and failover to other router.

> RBF: Cannot get updated delegation token from zookeeper
> -------------------------------------------------------
>
>                 Key: HDFS-15756
>                 URL: https://issues.apache.org/jira/browse/HDFS-15756
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rbf
>    Affects Versions: 3.0.0
>            Reporter: hbprotoss
>            Priority: Major
>
> Affected version: all version with rbf
> When RBF work with spark 2.4 client mode, there will be a chance that token 
> is missing across different nodes in RBF cluster. The root cause is that 
> spark renew the  token(via resource manager) immediately after got one, as 
> zookeeper don't have a strong consistency guarantee after an update in 
> cluster, zookeeper client may read a stale value in some followers not synced 
> with other nodes.
>  
> We apply a patch in spark, but it is still the problem of RBF. Is it possible 
> for RBF to replace the delegation token store using some other 
> datasource(redis for example)?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to