[ 
https://issues.apache.org/jira/browse/HDFS-4494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harsh J resolved HDFS-4494.
---------------------------
          Resolution: Done
    Target Version/s: 2.1.0-beta, 3.0.0  (was: 3.0.0, 2.1.0-beta)

This seems resolved now (as of 2.6.0):

{code}
[root@host ~]# hdfs getconf -confKey hadoop.security.authentication
kerberos
[root@host ~]# hadoop fs -ls hdfs://asdfsdfsdf/
-ls: java.net.UnknownHostException: asdfsdfsdf
Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [<path> ...]
{code}

Marking as Done.

> Confusing exception for unresolvable hdfs host with security enabled
> --------------------------------------------------------------------
>
>                 Key: HDFS-4494
>                 URL: https://issues.apache.org/jira/browse/HDFS-4494
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Priority: Minor
>
> {noformat}
> $ hadoop fs -ls hdfs://unresolvable-host
> ls: Can't replace _HOST pattern since client address is null
> {noformat}
> It's misleading because it's not even related to the client's address.  It'd 
> be a bit more informative to see something like "{{UnknownHostException: 
> unresolvable-host}}".



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

Reply via email to