You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chuan-Heng Hsiao (Jira)" <ji...@apache.org> on 2021/11/14 22:38:00 UTC
[jira] [Created] (HADOOP-18010) some time delay (0.3) for swebhdfs + kerberos + observer setting.
Chuan-Heng Hsiao created HADOOP-18010:
-----------------------------------------
Summary: some time delay (0.3) for swebhdfs + kerberos + observer setting.
Key: HADOOP-18010
URL: https://issues.apache.org/jira/browse/HADOOP-18010
Project: Hadoop Common
Issue Type: Bug
Components: auth, hdfs-client
Affects Versions: 3.3.1
Environment: ubuntu 20.04
hadoop 3.3.1
openjdk-8
Reporter: Chuan-Heng Hsiao
Settings:
1 master namenode (A), 1 standby namenode (B), 1 observer namenode (C).
following
[https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/ObserverNameNode.html]
except that
dfs.client.failover.observer.auto-msync-period.<nameservice>
is set to -1 (not auto -msync)
uable to do curl - - negotiate -u ':' 'https://<observer>:<port>/webhdfs/v1/...'
because it seems like due to the following issue:
https://issues.apache.org/jira/browse/HDFS-14443
using curl --negotiate -u ':' 'https://<master>:<port>/webhdfs/v1/...'
can successfully get 307 redirect with the corresponding Location.
but got
token (token for xxx HDFS_DELEGATION_TOKEN owner=xxx renewer=xxx masterKeyID=ooo) can't be found in cache"
if redirect the url within 300ms.
Not issue if waiting for more than 300ms and then do the redirect.
No issue if changing (C) to Standby (no observers) (and redirect within 300 ms)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org