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

CR Hota commented on HDFS-14784:
--------------------------------

[~zhangchen] Thanks for working on this. Overall patch looks fine.

Is it possible to add a test for WebHdfsFileSystem#convertJsonToDelegationToken 
? This is the new method we added here.

> Add more methods to WebHdfsTestUtil to support tests outside of package
> -----------------------------------------------------------------------
>
>                 Key: HDFS-14784
>                 URL: https://issues.apache.org/jira/browse/HDFS-14784
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Chen Zhang
>            Assignee: Chen Zhang
>            Priority: Major
>         Attachments: HDFS-14784.001.patch
>
>
> Before HDFS-14434, we can access a secure cluster by WebHDFS using user.name 
> parameter and {{PseudoAuthenticationHandler}} without kerberos 
> authentication, it's quite useful for some test situation.
> HDFS-14434 ignores user.name query parameter in secure WebHDFS when we using 
> WebHdfsFileSystem, so the only way to use user.name parameter is to access by 
> URL.
> This Jira try to add more methods to WebHdfsTestUtil to support UT out of 
> package to test WebHDFS in customize way.
> More background and discuss, see HDFS-14609.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to