[
https://issues.apache.org/jira/browse/HADOOP-7492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kihwal Lee updated HADOOP-7492:
-------------------------------
Attachment: TestRPCAddressChange.patch
{{Test output - requires PowerMockito}}
{noformat}
2011-08-11 14:03:03,281 INFO ipc.Server (Server.java:run(349)) - Starting
Socket Reader #1 for port 49429
2011-08-11 14:03:03,311 INFO ipc.Server (Server.java:run(642)) - IPC Server
Responder: starting
2011-08-11 14:03:03,314 INFO ipc.Server (Server.java:run(473)) - IPC Server
listener on 49429: starting
2011-08-11 14:03:03,315 INFO ipc.Server (Server.java:run(1466)) - IPC Server
handler 0 on 49429: starting
2011-08-11 14:03:03,318 INFO ipc.Server (Server.java:run(349)) - Starting
Socket Reader #1 for port 34748
2011-08-11 14:03:03,319 INFO ipc.Server (Server.java:run(642)) - IPC Server
Responder: starting
2011-08-11 14:03:03,319 INFO ipc.Server (Server.java:run(473)) - IPC Server
listener on 34748: starting
2011-08-11 14:03:03,331 INFO ipc.Server (Server.java:run(1466)) - IPC Server
handler 0 on 34748: starting
2011-08-11 14:03:05,301 INFO ipc.Server (Server.java:stop(1715)) - Stopping
server on 49429
2011-08-11 14:03:05,302 INFO ipc.Server (Server.java:run(1539)) - IPC Server
handler 0 on 49429: exiting
2011-08-11 14:03:05,302 INFO ipc.Server (Server.java:run(505)) - Stopping IPC
Server listener on 49429
2011-08-11 14:03:05,303 INFO ipc.Server (Server.java:run(647)) - Stopping IPC
Server Responder
2011-08-11 14:03:06,382 INFO ipc.Client
(Client.java:handleConnectionFailure(670)) - Retrying connect to server:
localhost.localdomain/127.0.0.1:49429. Already tried 0 time(s).
2011-08-11 14:03:07,400 INFO ipc.Client
(Client.java:handleConnectionFailure(670)) - Retrying connect to server:
localhost.localdomain/127.0.0.1:49429. Already tried 1 time(s).
2011-08-11 14:03:07,413 WARN ipc.Client (Client.java:updateAddress(422)) -
Address change detected. Old: localhost.localdomain/127.0.0.1:49429 New:
/127.0.0.1:34748
2011-08-11 14:03:08,426 INFO ipc.Client
(Client.java:handleConnectionFailure(670)) - Retrying connect to server:
/127.0.0.1:34748. Already tried 0 time(s).
2011-08-11 14:03:08,490 INFO ipc.Server (Server.java:stop(1715)) - Stopping
server on 34748
2011-08-11 14:03:08,490 INFO ipc.Server (Server.java:run(1539)) - IPC Server
handler 0 on 34748: exiting
2011-08-11 14:03:08,490 INFO ipc.Server (Server.java:run(505)) - Stopping IPC
Server listener on 34748
2011-08-11 14:03:08,491 INFO ipc.Server (Server.java:run(647)) - Stopping IPC
Server Responder
{noformat}
> Add automated test for the RPC IP addr change detection and reconnect feature
> -----------------------------------------------------------------------------
>
> Key: HADOOP-7492
> URL: https://issues.apache.org/jira/browse/HADOOP-7492
> Project: Hadoop Common
> Issue Type: Improvement
> Components: ipc
> Affects Versions: 0.23.0
> Reporter: Kihwal Lee
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: TestRPCAddressChange.patch
>
>
> Make sure HADOOP-7472 is forward ported to 0.23 by adding an automated test.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira