nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Tang <him...@gmail.com>
Subject Re: NDFS Connection reset
Date Tue, 06 Dec 2005 17:21:30 GMT
Hi Guys

in Server.java

        while (running) {
          int id;
          try {
            id = in.readInt();                    // try to read an id
          } catch (SocketTimeoutException e) {
        	  e.printStackTrace();
            continue;
          }

What's the id meaning? the id of DataNode? why the scoket connectio will reset?
Thanks

/Jack

On 12/6/05, Jack Tang <himars@gmail.com> wrote:
> Hi
>
> I checked out latest source code from svn, and played NDFS according
> the tutorial (http://wiki.apache.org/nutch/NutchDistributedFileSystem).
> And I tested my NDFS using TestClient. It was odd that when I input
> every command, the NameNode would throw exception:
>
> 051206 003714 Server connection on port 9000 from 127.0.0.1: starting
> 051206 003715 Server connection on port 9000 from 127.0.0.1 caught:
> java.net.SocketException: Connection reset
> java.net.SocketException: Connection reset
>         at java.net.SocketInputStream.read(Unknown Source)
>         at java.io.BufferedInputStream.fill(Unknown Source)
>         at java.io.BufferedInputStream.read(Unknown Source)
>         at java.io.DataInputStream.readInt(Unknown Source)
>         at org.apache.nutch.ipc.Server$Connection.run(Server.java:124)
> 051206 003715 Server connection on port 9000 from 127.0.0.1: exiting
>
> Is this bug in nutch or something I missed in this tutorial?
> Thanks
>
> /Jack
> --
> Keep Discovering ... ...
> http://www.jroller.com/page/jmars
>


--
Keep Discovering ... ...
http://www.jroller.com/page/jmars

Mime
View raw message