Tian Hong Wang created HADOOP-9440:
--------------------------------------

             Summary: Unit Test: hadoop-common2.0.3 TestIPC unit test fails on 
protobuf2.5.0+
                 Key: HADOOP-9440
                 URL: https://issues.apache.org/jira/browse/HADOOP-9440
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
            Reporter: Tian Hong Wang
             Fix For: 2.0.3-alpha


TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
protobuf2.5.0, TestIPC will fail.

java.io.IOException: Failed on local exception: 
com.google.protobuf.InvalidProtocolBufferException: 500 millis timeout while 
waiting for channel to be ready for read. ch : 
java.nio.channels.SocketChannel[connected local=/127.0.0.1:50850 
remote=louis-ThinkPad-T410/127.0.0.1:50353]; Host Details : local host is: 
"louis-ThinkPad-T410/127.0.0.1"; destination host is: 
"louis-ThinkPad-T410":50353;

TestIPC fails because it catches the  
com.google.protobuf.InvalidProtocolBufferException not SocketTimeoutException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to