cbaenziger opened a new pull request #4059:
URL: https://github.com/apache/hadoop/pull/4059


   ### Description of PR
   This PR provides a means to reload authentication credentials from updated 
Hadoop delegation tokens similar to how one would reload credentials from an 
updated kerberos ticket.
   
   ### How was this patch tested?
   This patch has been tested via:
   * The unit tests
   * Via long-running (modified to use the refresh) HBase 1.x clients. 
Long-running means through many delegation token refresh cycles
   * Further it has been used in non-long running Spark workloads which were 
delegation token based
   * TODO: I would like to figure out how I can write a unit-test to validate 
[the reload for an HA 
HDFS|https://github.com/apache/hadoop/compare/trunk...cbaenziger:HADOOP-16298?expand=1#diff-e160685d647b1420f6c56264302c0e1c82ead52e75a31d91fb2a12f0ce9261c4R465-R481]
 but I can not find what seems like the correct layer to put such a test. I do 
not expect HDFS should be used in a `hadoop-common` layer test; is it okay to 
test UGI's behavior in `hadoop-hdfs-project`?
   
   ### For code changes:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [N/A] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [X] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [N/A] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to