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

Wei-Chiu Chuang commented on HDFS-12950:
----------------------------------------

Thank you, Brahma.

I posted a patch to make WebImageViewer throw Runtime exception when it detects 
the secure mode is enabled in configuration. Also updated doc and command line 
help to indicate this use case is not supported.

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