You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2006/06/22 20:53:30 UTC

[jira] Created: (HADOOP-317) "connection was forcibly closed" Exception in RPC on Windows

"connection was forcibly closed" Exception in RPC on Windows
------------------------------------------------------------

         Key: HADOOP-317
         URL: http://issues.apache.org/jira/browse/HADOOP-317
     Project: Hadoop
        Type: Bug

  Components: ipc  
    Versions: 0.3.2    
    Reporter: Konstantin Shvachko


I see a lot of exceptions caused by RPC in the nightly build on Windows.
The most often is thrown by RPC on the namenode, saying

06/06/21 19:28:36 INFO ipc.Server: Server listener on port 7017: readAndProcess threw exception java.io.IOException: An existing connection was forcibly closed by the remote host. Count of bytes read: 0
java.io.IOException: An existing connection was forcibly closed by the remote host
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
    at sun.nio.ch.IOUtil.read(IOUtil.java:200)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
    at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:374)
    at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:289)
    at org.apache.hadoop.ipc.Server$Listener.run(Server.java:210)

I am not sure how serious that is, since the tests do not fail, and the name node does not crash.
Besides the RPC we should probably also check that the unit tests actually fail if they need to.


-- 
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


[jira] Resolved: (HADOOP-317) "connection was forcibly closed" Exception in RPC on Windows

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-317?page=all ]
     
Doug Cutting resolved HADOOP-317:
---------------------------------

    Fix Version: 0.4.0
     Resolution: Fixed
      Assign To: Doug Cutting

I just committed a fix to this.

> "connection was forcibly closed" Exception in RPC on Windows
> ------------------------------------------------------------
>
>          Key: HADOOP-317
>          URL: http://issues.apache.org/jira/browse/HADOOP-317
>      Project: Hadoop
>         Type: Bug

>   Components: ipc
>     Versions: 0.3.2
>     Reporter: Konstantin Shvachko
>     Assignee: Doug Cutting
>      Fix For: 0.4.0

>
> I see a lot of exceptions caused by RPC in the nightly build on Windows.
> The most often is thrown by RPC on the namenode, saying
> 06/06/21 19:28:36 INFO ipc.Server: Server listener on port 7017: readAndProcess threw exception java.io.IOException: An existing connection was forcibly closed by the remote host. Count of bytes read: 0
> java.io.IOException: An existing connection was forcibly closed by the remote host
>     at sun.nio.ch.SocketDispatcher.read0(Native Method)
>     at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
>     at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
>     at sun.nio.ch.IOUtil.read(IOUtil.java:200)
>     at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
>     at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:374)
>     at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:289)
>     at org.apache.hadoop.ipc.Server$Listener.run(Server.java:210)
> I am not sure how serious that is, since the tests do not fail, and the name node does not crash.
> Besides the RPC we should probably also check that the unit tests actually fail if they need to.

-- 
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