Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
2.6.0, 3.0.0
-
None
-
None
-
None
Description
A user reported that the Filesystem.get API is not working as expected when they use the 'FileSystem.get(URI, Configuration, user)' method signature - but 'FileSystem.get(URI, Configuration)' works fine. The user is trying to use this method signature to mimic proxy user functionality e.g. provide ticket cache based kerberos credentials (using KRB5CCNAME env variable) for the proxy user and then in the java program pass name of the user to be impersonated. The alternative, to use proxy users functionality in Hadoop works as expected.
Since FileSystem.get(URI, Configuration, user) is a public API and it does not restrict its usage in this fashion, we should ideally make it work or add docs to discourage its usage to implement proxy users.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-12953 New API for libhdfs to get FileSystem object as a proxy user
- Patch Available