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

Jakub Zeman commented on HDFS-9455:
-----------------------------------

Hi all,

would it be possible to increase prioriy of this issue. I have the same problem 
accessing HDFS using WebHDFS on secure (https enabled) cluster:
{code}hadoop fs -ls webhdfs://bda01:50470/jakubzeman/
17/01/17 12:24:29 WARN security.UserGroupInformation: 
PriviledgedActionException as:[email protected] (auth:KERBEROS) 
cause:java.net.SocketException: bda01:50470: Unexpected end of file from server
17/01/17 12:24:29 WARN security.UserGroupInformation: 
PriviledgedActionException as:[email protected] (auth:KERBEROS) 
cause:java.net.SocketException: bda01:50470: Unexpected end of file from server
ls: bda01:50470: Unexpected end of file from serve{code}

This command works well on non-secure cluster.

Is there any way how to bypass https?

Jakub

> In distcp, Invalid Argument Error thrown in case of filesystem operation 
> failure
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-9455
>                 URL: https://issues.apache.org/jira/browse/HDFS-9455
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: distcp, security
>            Reporter: Archana T
>            Assignee: Daisuke Kobayashi
>            Priority: Minor
>         Attachments: HDFS-9455.01.patch
>
>
> When Filesystem Operation failure happens during discp, 
> Wrong exception : Invalid Argument thrown along with distcp command Usage.
> {color:red} 
> hadoop distcp webhdfs://IP:25003/test/testfile webhdfs://IP:25003/myp
> Invalid arguments: Unexpected end of file from server
> usage: distcp OPTIONS [source_path...] <target_path>
>               OPTIONS
>  -append                       Reuse existing data in target files and
>                                append new data to them if possible
>  -async                        Should distcp execution be blocking
>  -atomic                       Commit all changes or none
>  -bandwidth <arg>              Specify bandwidth per map in MB
>  -delete                       Delete from target, files missing in source
>  -diff <arg>                   Use snapshot diff report to identify the
>                                difference between source and target
>  -f <arg>                      List of files that need to be copied
>  -filelimit <arg>              (Deprecated!) Limit number of files copied
>                                to <= n
>  -i                            Ignore failures during copy
> .....
> {color} 
> Instead Proper Exception has to be thrown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to