You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Nicolas MARTIN <ni...@gmail.com> on 2009/02/08 22:35:13 UTC

Message error running nutch

Hi all,

Does anyone already had the same problem while running nutch :

Exception in thread "main" java.io.IOException: Call to localhost/
127.0.0.1:9000 failed on local exception: Connection refused: no further
information
    at org.apache.hadoop.ipc.Client.call(Client.java:699)
    at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)
    at $Proxy0.getProtocolVersion(Unknown Source)
    at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:319)
    at
org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:104)
    at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:177)
    at
org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:74)
    at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1367)
    at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:56)
    at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1379)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:215)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:120)
    at org.apache.nutch.crawl.Crawl.main(Crawl.java:83)
Caused by: java.net.ConnectException: Connection refused: no further
information
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
    at sun.nio.ch.SocketAdaptor.connect(Unknown Source)
    at
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:299)
    at org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176)
    at org.apache.hadoop.ipc.Client.getConnection(Client.java:772)
    at org.apache.hadoop.ipc.Client.call(Client.java:685)
    ... 12 more

Thank you for your help !

Re: Message error running nutch

Posted by Kenneth Berland <ke...@hero.com>.
I had this one.  I had "localhost" in conf/master, conf/slaves, 
localhost:9001 in mapred.job.tracker, and hdfs://localhost:9000 in 
fs.default.name.  I think the jobtracker or namenode wouldn't bind.  I 
switched to the real private network hostname (resolving to 192.168.1.x) 
and everything worked.

-KB

On Sun, 8 Feb 2009, Nicolas MARTIN wrote:

> Hi all,
>
> Does anyone already had the same problem while running nutch :
>
> Exception in thread "main" java.io.IOException: Call to localhost/
> 127.0.0.1:9000 failed on local exception: Connection refused: no further
> information
>    at org.apache.hadoop.ipc.Client.call(Client.java:699)
>    at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)
>    at $Proxy0.getProtocolVersion(Unknown Source)
>    at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:319)
>    at
> org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:104)
>    at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:177)
>    at
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:74)
>    at
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1367)
>    at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:56)
>    at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1379)
>    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:215)
>    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:120)
>    at org.apache.nutch.crawl.Crawl.main(Crawl.java:83)
> Caused by: java.net.ConnectException: Connection refused: no further
> information
>    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>    at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
>    at sun.nio.ch.SocketAdaptor.connect(Unknown Source)
>    at
> org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:299)
>    at org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176)
>    at org.apache.hadoop.ipc.Client.getConnection(Client.java:772)
>    at org.apache.hadoop.ipc.Client.call(Client.java:685)
>    ... 12 more
>
> Thank you for your help !
>