[
https://issues.apache.org/jira/browse/HDFS-12950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16300190#comment-16300190
]
Rushabh S Shah commented on HDFS-12950:
---------------------------------------
bq. hdfs dfs -ls webhdfs://127.0.0.1:5978/
This jira is related to oiv and in the example you are issuing {{ls}} command.
I tried the same command on 2.8 cluster and I am getting some different error.
{noformat}
hdfs dfs -ls webhdfs://<nn-aadr>:5978/
17/12/21 15:39:35 INFO web.WebHdfsFileSystem: Retrying connect to
namenode:<nn-addr>:5978. Already retried 0 time(s); retry policy is <Retry
policy>, delay 0ms.
ls: <nn-addr>:5978: Unexpected HTTP response: code=404 != 200,
op=GETFILESTATUS, message=Not Found
{noformat}
I am sure I am missing something.
Also can you mention the "Affects Version" ?
> oiv will fail in secure cluster
> --------------------------------
>
> Key: HDFS-12950
> URL: https://issues.apache.org/jira/browse/HDFS-12950
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
>
> 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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]