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

Ajay Kumar commented on HDFS-12950:
-----------------------------------

[~jojochuang], thanks for posting the patch. LGTM. Two minor comments:
* For TestOfflineImageViewer#testWebImageViewerSecureMode we should test 
specific exception with error message using LambdaTestUtils#intercept or 
GenericTestUtils#assertExceptionContains
* Update the javadoc for WebImageViewer#start
    

> [oiv] ls will fail in  secure cluster
> -------------------------------------
>
>                 Key: HDFS-12950
>                 URL: https://issues.apache.org/jira/browse/HDFS-12950
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>         Attachments: HDFS-12950.001.patch
>
>
> if we execute ls, it will throw following.
> {noformat}
> hdfs dfs -ls webhdfs://127.0.0.1:5978/
> ls: Invalid value for webhdfs parameter "op"
> {noformat}
> When client is configured with security (i.e "hadoop.security.authentication= 
> KERBEROS) , 
> then webhdfs will request getdelegation token which is not implemented and 
> hence it will  throw “ls: Invalid value for webhdfs parameter "op"”.



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

---------------------------------------------------------------------
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