[jira] [Commented] (HADOOP-9440) Unit Test: hadoop-common2.0.3 TestIPC fails on protobuf2.5.0

2014-01-17 Thread Sean GUO (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13874592#comment-13874592
 ] 

Sean GUO commented on HADOOP-9440:
--

[~ozawa] I have the same issue even after I run mvn clean.

 Unit Test: hadoop-common2.0.3 TestIPC 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
Affects Versions: 2.1.0-beta
Reporter: Tian Hong Wang
  Labels: patch
 Attachments: HADOOP-9440.patch


 TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
 protobuf2.5.0, TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcTimeout(TestIPC.java:492)
 testIpcConnectTimeout(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 2009 sec  
  ERROR!
 java.io.IOException: Failed on local exception: 
 com.google.protobuf.InvalidProtocolBufferException: 2000 millis timeout while 
 waiting for channel to be ready for read. ch : 
 java.nio.channels.SocketChannel[connected local=/127.0.0.1:51304 
 remote=louis-ThinkPad-T410/127.0.0.1:39525]; Host Details : local host is: 
 louis-ThinkPad-T410/127.0.0.1; destination host is: 
 louis-ThinkPad-T410:39525; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcConnectTimeout(TestIPC.java:515)
 TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout fails because it 
 catches the  com.google.protobuf.InvalidProtocolBufferException not 
 SocketTimeoutException.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HADOOP-9440) Unit Test: hadoop-common2.0.3 TestIPC fails on protobuf2.5.0

2013-07-12 Thread Tian Hong Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706701#comment-13706701
 ] 

Tian Hong Wang commented on HADOOP-9440:


Thanks Tsuyoshi OZAWA for your comment. I agree with what you said. So close it 
as Not a problem.

 Unit Test: hadoop-common2.0.3 TestIPC 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
Affects Versions: 2.1.0-beta
Reporter: Tian Hong Wang
  Labels: patch
 Attachments: HADOOP-9440.patch


 TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
 protobuf2.5.0, TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcTimeout(TestIPC.java:492)
 testIpcConnectTimeout(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 2009 sec  
  ERROR!
 java.io.IOException: Failed on local exception: 
 com.google.protobuf.InvalidProtocolBufferException: 2000 millis timeout while 
 waiting for channel to be ready for read. ch : 
 java.nio.channels.SocketChannel[connected local=/127.0.0.1:51304 
 remote=louis-ThinkPad-T410/127.0.0.1:39525]; Host Details : local host is: 
 louis-ThinkPad-T410/127.0.0.1; destination host is: 
 louis-ThinkPad-T410:39525; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcConnectTimeout(TestIPC.java:515)
 TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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


[jira] [Commented] (HADOOP-9440) Unit Test: hadoop-common2.0.3 TestIPC fails on protobuf2.5.0

2013-07-11 Thread Tsuyoshi OZAWA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705677#comment-13705677
 ] 

Tsuyoshi OZAWA commented on HADOOP-9440:


I've tried to compile hadoop-commons' trunk with protobuf 2.5.0 and succeeded 
to pass TestIPC though I needed to run mvn clean command explicitly under 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common directory.  Therefore, the 
test failure seems to be caused the mixture of old jar file compiled with 
protobuf 2.4.x and new jar file compiled with protobuf 2.5.0. If this 
assumption is correct, this ticket should be marked as Not a problem. Did you 
mvn clean before recompile?

 Unit Test: hadoop-common2.0.3 TestIPC 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
Affects Versions: 2.1.0-beta
Reporter: Tian Hong Wang
  Labels: patch
 Attachments: HADOOP-9440.patch


 TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
 protobuf2.5.0, TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcTimeout(TestIPC.java:492)
 testIpcConnectTimeout(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 2009 sec  
  ERROR!
 java.io.IOException: Failed on local exception: 
 com.google.protobuf.InvalidProtocolBufferException: 2000 millis timeout while 
 waiting for channel to be ready for read. ch : 
 java.nio.channels.SocketChannel[connected local=/127.0.0.1:51304 
 remote=louis-ThinkPad-T410/127.0.0.1:39525]; Host Details : local host is: 
 louis-ThinkPad-T410/127.0.0.1; destination host is: 
 louis-ThinkPad-T410:39525; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcConnectTimeout(TestIPC.java:515)
 TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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


[jira] [Commented] (HADOOP-9440) Unit Test: hadoop-common2.0.3 TestIPC fails on protobuf2.5.0

2013-07-11 Thread Tsuyoshi OZAWA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705765#comment-13705765
 ] 

Tsuyoshi OZAWA commented on HADOOP-9440:


And, let me know if I am wrong. Thanks!

 Unit Test: hadoop-common2.0.3 TestIPC 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
Affects Versions: 2.1.0-beta
Reporter: Tian Hong Wang
  Labels: patch
 Attachments: HADOOP-9440.patch


 TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
 protobuf2.5.0, TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcTimeout(TestIPC.java:492)
 testIpcConnectTimeout(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 2009 sec  
  ERROR!
 java.io.IOException: Failed on local exception: 
 com.google.protobuf.InvalidProtocolBufferException: 2000 millis timeout while 
 waiting for channel to be ready for read. ch : 
 java.nio.channels.SocketChannel[connected local=/127.0.0.1:51304 
 remote=louis-ThinkPad-T410/127.0.0.1:39525]; Host Details : local host is: 
 louis-ThinkPad-T410/127.0.0.1; destination host is: 
 louis-ThinkPad-T410:39525; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcConnectTimeout(TestIPC.java:515)
 TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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


[jira] [Commented] (HADOOP-9440) Unit Test: hadoop-common2.0.3 TestIPC fails on protobuf2.5.0

2013-05-17 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13661188#comment-13661188
 ] 

Hadoop QA commented on HADOOP-9440:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12575838/HADOOP-9440.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-common-project/hadoop-common.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/2548//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/2548//console

This message is automatically generated.

 Unit Test: hadoop-common2.0.3 TestIPC 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
Affects Versions: 2.0.5-beta
Reporter: Tian Hong Wang
  Labels: patch
 Attachments: HADOOP-9440.patch


 TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
 protobuf2.5.0, TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcTimeout(TestIPC.java:492)
 testIpcConnectTimeout(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 2009 sec  
  ERROR!
 java.io.IOException: Failed on local exception: 
 com.google.protobuf.InvalidProtocolBufferException: 2000 millis timeout while 
 waiting for channel to be ready for read. ch : 
 java.nio.channels.SocketChannel[connected local=/127.0.0.1:51304 
 remote=louis-ThinkPad-T410/127.0.0.1:39525]; Host Details : local host is: 
 louis-ThinkPad-T410/127.0.0.1; destination host is: 
 louis-ThinkPad-T410:39525; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcConnectTimeout(TestIPC.java:515)
 TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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


[jira] [Commented] (HADOOP-9440) Unit Test: hadoop-common2.0.3 TestIPC fails on protobuf2.5.0

2013-05-16 Thread Tian Hong Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13659576#comment-13659576
 ] 

Tian Hong Wang commented on HADOOP-9440:


Harsh, you are right that we don't expect this exception. But it is really 
thrown rather than SocketTimeoutException. If we use hadoop2.4.0a, it runs 
well. So can we think it as a protobuf2.5.0+ problem?

 Unit Test: hadoop-common2.0.3 TestIPC 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
Affects Versions: 2.0.5-beta
Reporter: Tian Hong Wang
  Labels: patch
 Attachments: HADOOP-9440.patch


 TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
 protobuf2.5.0, TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcTimeout(TestIPC.java:492)
 testIpcConnectTimeout(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 2009 sec  
  ERROR!
 java.io.IOException: Failed on local exception: 
 com.google.protobuf.InvalidProtocolBufferException: 2000 millis timeout while 
 waiting for channel to be ready for read. ch : 
 java.nio.channels.SocketChannel[connected local=/127.0.0.1:51304 
 remote=louis-ThinkPad-T410/127.0.0.1:39525]; Host Details : local host is: 
 louis-ThinkPad-T410/127.0.0.1; destination host is: 
 louis-ThinkPad-T410:39525; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcConnectTimeout(TestIPC.java:515)
 TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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


[jira] [Commented] (HADOOP-9440) Unit Test: hadoop-common2.0.3 TestIPC fails on protobuf2.5.0

2013-05-15 Thread Harsh J (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13658239#comment-13658239
 ] 

Harsh J commented on HADOOP-9440:
-

Why do we get a protobuf exception in the first place? We shouldn't be 
modifying the test to capture an IOException as we don't expect that to happen. 
Please correct my understanding if am wrong.

 Unit Test: hadoop-common2.0.3 TestIPC 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
Affects Versions: 2.0.5-beta
Reporter: Tian Hong Wang
  Labels: patch
 Attachments: HADOOP-9440.patch


 TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
 protobuf2.5.0, TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcTimeout(TestIPC.java:492)
 testIpcConnectTimeout(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 2009 sec  
  ERROR!
 java.io.IOException: Failed on local exception: 
 com.google.protobuf.InvalidProtocolBufferException: 2000 millis timeout while 
 waiting for channel to be ready for read. ch : 
 java.nio.channels.SocketChannel[connected local=/127.0.0.1:51304 
 remote=louis-ThinkPad-T410/127.0.0.1:39525]; Host Details : local host is: 
 louis-ThinkPad-T410/127.0.0.1; destination host is: 
 louis-ThinkPad-T410:39525; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcConnectTimeout(TestIPC.java:515)
 TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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


[jira] [Commented] (HADOOP-9440) Unit Test: hadoop-common2.0.3 TestIPC fails on protobuf2.5.0

2013-04-04 Thread Tian Hong Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13623285#comment-13623285
 ] 

Tian Hong Wang commented on HADOOP-9440:


Any comments, Suresh?

 Unit Test: hadoop-common2.0.3 TestIPC 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
Affects Versions: 2.0.3-alpha
Reporter: Tian Hong Wang
  Labels: patch
 Fix For: 2.0.3-alpha

 Attachments: HADOOP-9440.patch


 TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
 protobuf2.5.0, TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcTimeout(TestIPC.java:492)
 testIpcConnectTimeout(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 2009 sec  
  ERROR!
 java.io.IOException: Failed on local exception: 
 com.google.protobuf.InvalidProtocolBufferException: 2000 millis timeout while 
 waiting for channel to be ready for read. ch : 
 java.nio.channels.SocketChannel[connected local=/127.0.0.1:51304 
 remote=louis-ThinkPad-T410/127.0.0.1:39525]; Host Details : local host is: 
 louis-ThinkPad-T410/127.0.0.1; destination host is: 
 louis-ThinkPad-T410:39525; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcConnectTimeout(TestIPC.java:515)
 TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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


[jira] [Commented] (HADOOP-9440) Unit Test: hadoop-common2.0.3 TestIPC fails on protobuf2.5.0

2013-03-28 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13616929#comment-13616929
 ] 

Hadoop QA commented on HADOOP-9440:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12575838/HADOOP-9440.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-common-project/hadoop-common.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/2373//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/2373//console

This message is automatically generated.

 Unit Test: hadoop-common2.0.3 TestIPC 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
Affects Versions: 2.0.3-alpha
Reporter: Tian Hong Wang
  Labels: patch
 Fix For: 2.0.3-alpha

 Attachments: HADOOP-9440.patch


 TestIPC runs normally if use protobuf2.4.1 or below version. But if using 
 protobuf2.5.0, TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcTimeout(TestIPC.java:492)
 testIpcConnectTimeout(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 2009 sec  
  ERROR!
 java.io.IOException: Failed on local exception: 
 com.google.protobuf.InvalidProtocolBufferException: 2000 millis timeout while 
 waiting for channel to be ready for read. ch : 
 java.nio.channels.SocketChannel[connected local=/127.0.0.1:51304 
 remote=louis-ThinkPad-T410/127.0.0.1:39525]; Host Details : local host is: 
 louis-ThinkPad-T410/127.0.0.1; destination host is: 
 louis-ThinkPad-T410:39525; 
   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
   at org.apache.hadoop.ipc.Client.call(Client.java:1239)
   at org.apache.hadoop.ipc.Client.call(Client.java:1163)
   at org.apache.hadoop.ipc.TestIPC.testIpcConnectTimeout(TestIPC.java:515)
 TestIPC.testIpcTimeout   TestIPC.testIpcConnectTimeout 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