hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12950) oiv will fail in secure cluster
Date Thu, 21 Dec 2017 16:57:00 GMT

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

Brahma Reddy Battula commented on HDFS-12950:
---------------------------------------------

bq.This jira is related to oiv and in the example you are issuing ls command.
when we execute {{"hdfs oiv -i fsimage"}}, It launches a HTTP server that exposes read-only
WebHDFS API.Here default port is {{5978}}.So I used same to list the files. Please refer example
[here|http://hadoop.apache.org/docs/r2.9.0/hadoop-project-dist/hadoop-hdfs/HdfsImageViewer.html]
for more.
bq.I tried the same command on 2.8 cluster and I am getting some different error.
looks with {{5978}} nothing is running,so it's retrying.
bq.Also can you mention the "Affects Version" ?
It's applicable to {{2.6}} + all the versions,will update same..


> oiv 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: 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message