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

CR Hota commented on HDFS-13972:
--------------------------------

[~elgoiri] Thanks for the review.

Verify token is used by JspHelper for validating urlencoded tokens send via web 
calls.

I still haven't got the root cause of http server issue. But essentially, in 
AbstractFSContractTestBase.java#setup (java.net.ConnectException: 
0.0.0.0:xxxxx: Connection refused) which is a test "@before" method fails to 
connect to secured cluster via webhdfs to create test dir. I will have to dig 
further on why http server initialization with security enabled isn't correct. 
There is no existing test hence we didn't know. Just attached the sample code 
am trying for reference.

One more approach am thinking is to initialize a non secured http server and 
allow delegation token operations for testing purposes even if the server is 
non secured.





> RBF: Support for Delegation Token (WebHDFS)
> -------------------------------------------
>
>                 Key: HDFS-13972
>                 URL: https://issues.apache.org/jira/browse/HDFS-13972
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Íñigo Goiri
>            Assignee: CR Hota
>            Priority: Major
>         Attachments: HDFS-13972-HDFS-13891.001.patch, 
> HDFS-13972-HDFS-13891.002.patch, HDFS-13972-HDFS-13891.003.patch, 
> HDFS-13972-HDFS-13891.004.patch, TestRouterWebHDFSContractTokens.java
>
>
> HDFS Router should support issuing HDFS delegation tokens through WebHDFS.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to