hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hemanth Yamijala <yhema...@thoughtworks.com>
Subject Re: Error in : hadoop fsck /
Date Tue, 11 Sep 2012 15:59:36 GMT
Could you please review your configuration to see if you are pointing to
the right namenode address ? (This will be in core-site.xml)
Please paste it here so we can look for clues.

Thanks
hemanth

On Tue, Sep 11, 2012 at 9:25 PM, yogesh dhari <yogeshdhari@live.com> wrote:

>  Hi all,
>
> I am running hadoop-0.20.2 on single node cluster,
>
> I run the command
>
> hadoop fsck /
>
> it shows error:
>
> Exception in thread "main" java.net.UnknownHostException: http
>     at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
>     at java.net.Socket.connect(Socket.java:579)
>     at java.net.Socket.connect(Socket.java:528)
>     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
>     at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
>     at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
>     at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
>     at sun.net.www.http.HttpClient.New(HttpClient.java:290)
>     at sun.net.www.http.HttpClient.New(HttpClient.java:306)
>     at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
>     at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
>     at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
>     at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
>     at org.apache.hadoop.hdfs.tools.DFSck.run(DFSck.java:123)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>     at org.apache.hadoop.hdfs.tools.DFSck.main(DFSck.java:159)
>
>
>
>
> Please suggest why it so..  it should show the health status:
>

Mime
View raw message