hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dick King (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-487) misspelt DFS host name gives null pointer exception in getProtocolVersion
Date Fri, 22 Sep 2006 20:57:03 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-487?page=comments#action_12437001 ] 
Dick King commented on HADOOP-487:

The way  to duplicate the problem is to change the text

  <description>The name of the default file system.  Either the
  literal string "local" or a host:port for DFS.</description>

in hadoop-site.xml and then launch any hadoop job that doesn't override fs.default.name in
its code.


> misspelt DFS host name gives null pointer exception in getProtocolVersion
> -------------------------------------------------------------------------
>                 Key: HADOOP-487
>                 URL: http://issues.apache.org/jira/browse/HADOOP-487
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.5.0
>            Reporter: Dick King
>         Assigned To: Sameer Paranjpye
> I'm trying to construct a DistributedFileSystem but I have the wrong hostname.
> It doesn't work.  It throws an exception.  Fair enough.  
> However, it throws a null pointer exception inside $Proxy0.getProtocolVersion, the code
that checks whether we have the right protocol version, rather than giving us any exception
we could understand or taking an exception in code to which we have sources so we have a way
of understanding the problem.
> -dk

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message