hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Venner <ja...@attributor.com>
Subject org.apache.hadoop.dfs.NameNode.Secondary: java.net.UnknownHostException: hdfs on a single machine setup
Date Wed, 05 Dec 2007 00:59:12 GMT
I have a single machine that I use to test various things with hadoop. I 
am having errors in one of the log files that make no particular sense.
This is hadoop 0.15.0

2007-12-04 16:51:28,405 ERROR org.apache.hadoop.dfs.NameNode.Secondary: 
Exception in doCheckpoint:
2007-12-04 16:51:28,406 ERROR org.apache.hadoop.dfs.NameNode.Secondary: 
java.net.UnknownHostException: hdfs
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
    at java.net.Socket.connect(Socket.java:519)
    at java.net.Socket.connect(Socket.java:469)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
    at sun.net.www.http.HttpClient.New(HttpClient.java:306)
    at sun.net.www.http.HttpClient.New(HttpClient.java:323)
    at 
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788)
    at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729)
    at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654)
    at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)
    at 
org.apache.hadoop.dfs.TransferFsImage.getFileClient(TransferFsImage.java:142)
    at 
org.apache.hadoop.dfs.TransferFsImage.getFileClient(TransferFsImage.java:181)
    at 
org.apache.hadoop.dfs.SecondaryNameNode.getFSImage(SecondaryNameNode.java:209)
    at 
org.apache.hadoop.dfs.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:275)
    at 
org.apache.hadoop.dfs.SecondaryNameNode.run(SecondaryNameNode.java:192)
    at java.lang.Thread.run(Thread.java:619)


Mime
View raw message