Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
Changes include:
- Make registry client to programmatically generate the jaas conf for secure access ZK quorum
- Create a KerberosPrincipal resource object in REST API for user to supply keberos keytab and principal
- User has two ways to configure:
- If keytab starts with "hdfs://", the keytab will be localized by YARN
- If keytab starts with "file://", it is assumed that the keytab are available on the localhost.
- AM will use the keytab to log in
- ServiceClient is changed to ask hdfs delegation token when submitting the service
- AM code will use the tokens when launching containers
- Support kerberized communication between client and AM