[
https://issues.apache.org/jira/browse/HADOOP-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062061#comment-15062061
]
Masatake Iwasaki commented on HADOOP-12605:
-------------------------------------------
Here is the DEBUG log of failed {{checkBlocking(1, 1, 1)}}.
{noformat}
2015-12-14 18:09:56,893 INFO ipc.CallQueueManager
(CallQueueManager.java:<init>(60)) - Using callQueue class
java.util.concurrent.LinkedBlockingQueue
2015-12-14 18:09:56,894 INFO ipc.Server (Server.java:run(727)) - Starting
Socket Reader #1 for port 50977
2015-12-14 18:09:56,897 INFO ipc.Server (Server.java:run(957)) - IPC Server
Responder: starting
2015-12-14 18:09:56,897 INFO ipc.Server (Server.java:run(797)) - IPC Server
listener on 50977: starting
2015-12-14 18:09:56,897 DEBUG ipc.Server (Server.java:run(2262)) - IPC Server
handler 0 on 50977: starting
2015-12-14 18:09:56,904 DEBUG ipc.Server (Server.java:register(2969)) - Server
connection from 127.0.0.1:34212; # active connections: 1; # queued calls: 0
2015-12-14 18:09:56,906 DEBUG ipc.Server (Server.java:processOneRpc(1979)) -
got #-3
2015-12-14 18:09:56,963 DEBUG ipc.Server
(Server.java:authorizeConnection(2183)) - Successfully authorized userInfo {
}
2015-12-14 18:09:56,963 DEBUG ipc.Server (Server.java:processOneRpc(1979)) -
got #6
2015-12-14 18:09:56,963 DEBUG ipc.Server (Server.java:run(2271)) - IPC Server
handler 0 on 50977: 46 from 127.0.0.1:34212 Call#6 Retry#0 for RpcKind
RPC_BUILTIN
2015-12-14 18:09:56,964 DEBUG ipc.Server (Server.java:register(2969)) - Server
connection from 127.0.0.1:34213; # active connections: 2; # queued calls: 0
2015-12-14 18:09:56,965 DEBUG ipc.Server (Server.java:processOneRpc(1979)) -
got #-3
2015-12-14 18:09:56,965 DEBUG ipc.Server
(Server.java:authorizeConnection(2183)) - Successfully authorized userInfo {
}
2015-12-14 18:09:56,965 DEBUG ipc.Server (Server.java:processOneRpc(1979)) -
got #7
2015-12-14 18:09:56,967 DEBUG ipc.Server (Server.java:register(2969)) - Server
connection from 127.0.0.1:34214; # active connections: 3; # queued calls: 1
2015-12-14 18:09:56,967 INFO ipc.TestIPC (TestIPC.java:checkBlocking(779)) -
(initial clients) need:3 connections have:3
2015-12-14 18:09:56,968 INFO ipc.TestIPC (TestIPC.java:checkBlocking(781)) -
ipc layer should be blocked
2015-12-14 18:09:56,969 DEBUG ipc.Server (Server.java:register(2969)) - Server
connection from 127.0.0.1:34215; # active connections: 4; # queued calls: 1
2015-12-14 18:09:56,970 DEBUG ipc.Server (Server.java:processOneRpc(1979)) -
got #-3
2015-12-14 18:09:56,970 DEBUG ipc.Server
(Server.java:authorizeConnection(2183)) - Successfully authorized userInfo {
}
2015-12-14 18:09:56,970 DEBUG ipc.Server (Server.java:processOneRpc(1979)) -
got #8
2015-12-14 18:09:56,970 DEBUG ipc.Server (Server.java:register(2969)) - Server
connection from 127.0.0.1:34216; # active connections: 5; # queued calls: 1
2015-12-14 18:09:56,971 DEBUG ipc.Server (Server.java:register(2969)) - Server
connection from 127.0.0.1:34217; # active connections: 6; # queued calls: 1
2015-12-14 18:09:56,980 INFO ipc.TestIPC (TestIPC.java:checkBlocking(801)) -
(max clients) need:5 connections have:6
{noformat}
> Fix intermittent failure of TestIPC.testIpcWithReaderQueuing
> ------------------------------------------------------------
>
> Key: HADOOP-12605
> URL: https://issues.apache.org/jira/browse/HADOOP-12605
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Masatake Iwasaki
> Assignee: Masatake Iwasaki
> Priority: Minor
> Attachments: HADOOP-12605.001.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)