Description
Router currently uses Namenode web resources to read and verify delegation tokens. This model doesn't work when router will be deployed in secured mode. This change will introduce router's own UserProvider resource and dependencies.
In the current deployment one can see this exception.
{"RemoteException":{"exception":"ClassCastException","javaClassName":"java.lang.ClassCastException","message":"org.apache.hadoop.hdfs.server.federation.router.Router cannot be cast to org.apache.hadoop.hdfs.server.namenode.NameNode"}}
In the proposed change, router will maintain its own web resource, that will be similar to current namenode, but modified to get back a router instance instead of namenode.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-13972 RBF: Support for Delegation Token (WebHDFS)
- Resolved
- relates to
-
HDFS-13972 RBF: Support for Delegation Token (WebHDFS)
- Resolved