[ https://issues.apache.org/jira/browse/HDFS-9525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141238#comment-15141238 ]
Steve Loughran commented on HDFS-9525: -------------------------------------- I understand more, but I'm worried that if a token file is missing, and you don't have the credentials, there's going to be no explanation of what has gone wrong. Currently, the env-var mechanism is usually used as an alternative to being kinited in or having a keytab. It only makes sense to downgrade if you are —or can be— logged in. Without that option, then when you try to access the webhdfs filesystem, the user sees a message about no TGT, and doesn't understand the root cause was that even though a location was set in the cluster config/command line, it wasn't actually there. That's what I'm worried about: finding problems early, and why I'm advocating throwing an FNFE if a named file isn't there. If you think differently, then at the very least, # the fact that a named file is missing needs to be logged @ info. # kdiag should check for all the files and fail fast if they are missing. > hadoop utilities need to support provided delegation tokens > ----------------------------------------------------------- > > Key: HDFS-9525 > URL: https://issues.apache.org/jira/browse/HDFS-9525 > Project: Hadoop HDFS > Issue Type: New Feature > Components: security > Affects Versions: 3.0.0 > Reporter: Allen Wittenauer > Assignee: HeeSoo Kim > Priority: Blocker > Fix For: 3.0.0 > > Attachments: HDFS-7984.001.patch, HDFS-7984.002.patch, > HDFS-7984.003.patch, HDFS-7984.004.patch, HDFS-7984.005.patch, > HDFS-7984.006.patch, HDFS-7984.007.patch, HDFS-7984.patch, > HDFS-9525.008.patch, HDFS-9525.009.patch, HDFS-9525.009.patch, > HDFS-9525.branch-2.008.patch, HDFS-9525.branch-2.009.patch > > > When using the webhdfs:// filesystem (especially from distcp), we need the > ability to inject a delegation token rather than webhdfs initialize its own. > This would allow for cross-authentication-zone file system accesses. -- This message was sent by Atlassian JIRA (v6.3.4#6332)