[ 
https://issues.apache.org/jira/browse/HDFS-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398441#comment-13398441
 ] 

Daryn Sharp commented on HDFS-3553:
-----------------------------------

For the sake of discussion, the longer-term fixes may be:
# Streamline the logic to more closely match hftp's long standing convention
#* change webhdfs ugi query param to be the current user (instead of doAs param)
#* remove doAs param, replace with a realUser param, for specifying the real 
user
# Use context sensitive logic
#* ex. if doAs param is present, use webhdfs notion of ugi/doAs, else use 
hftp's notion of ugi

#1 is a simple change that standardizes the logic, but the con is a webhdfs 
incompatibility.  #2 maintains webhdfs compatibility, but feels fragile.  
Comments?
                
> Hftp proxy tokens are broken
> ----------------------------
>
>                 Key: HDFS-3553
>                 URL: https://issues.apache.org/jira/browse/HDFS-3553
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 1.0.2, 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Blocker
>         Attachments: HDFS-3553.branch-1.0.patch
>
>
> Proxy tokens are broken for hftp.  The impact is systems using proxy tokens, 
> such as oozie jobs, cannot use hftp.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to