hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Liptak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12028) Allow to set handler thread name when building IPC Server
Date Mon, 25 May 2015 14:23:17 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558288#comment-14558288
] 

Gabor Liptak commented on HADOOP-12028:
---------------------------------------

[~zjffdu] There is already a serverName available. I reviewed the callers, and it is set protocolImpl
class name (and just a number in tests).

> Allow to set handler thread name when building IPC Server
> ---------------------------------------------------------
>
>                 Key: HADOOP-12028
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12028
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.7.0
>            Reporter: Jeff Zhang
>            Priority: Minor
>         Attachments: HADOOP-12028.1.patch
>
>
> Currently IPC use the server port to differentiate it with other IPC server. This is
not very clear especially when port is randomly generated. It is better to set the server
name when building the server and use the server name  as the part of handler thread name

> {code}
> 2015-05-25 10:43:40,181 INFO  [IPC Server handler 0 on 58849] history.HistoryEventHandler
(HistoryEventHandler.java:handleCriticalEvent(110)) - [HISTORY][DAG:dag_1432521818638_0001_1][Event:DAG_SUBMITTED]:
dagID=dag_1432521818638_0001_1, submitTime=1432521820100
> 2015-05-25 10:43:40,200 INFO  [IPC Server handler 0 on 58849] impl.DAGImpl (DAGImpl.java:assignDAGScheduler(1360))
- Using DAG Scheduler: org.apache.tez.dag.app.dag.impl.DAGSchedulerNaturalOrderControlled
> 2015-05-25 10:43:40,201 INFO  [IPC Server handler 0 on 58849] h
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message