[ http://issues.apache.org/jira/browse/HADOOP-487?page=all ]
Doug Cutting updated HADOOP-487: -------------------------------- Status: Resolved (was: Patch Available) Resolution: Fixed You forgot to mention that you also changed the name of the thread. The thread name was, long ago, logged with each line, and was crafted to not be overly long. So this is probably a good change too, but ideally should have been mentioned. I just committed this. Thanks, Sameer! > 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.6.2 > Reporter: Dick King > Assigned To: Sameer Paranjpye > Fix For: 0.7.0 > > Attachments: unknown-host.txt > > > 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