hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaobing Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11558) BPServiceActor thread name is too long
Date Mon, 27 Mar 2017 19:20:41 GMT

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

Xiaobing Zhou commented on HDFS-11558:
--------------------------------------

Posted v2. Thanks all for reviews. Since actor is instantiated per active or standby namenode,
address of which is always available through conf. Do we need assemble it into actor thread
name? [~arpitagarwal] Thanks.

With v2 patch, thread name looks like:
{noformat}
2017-03-27 12:11:12,548 [<nameservice id unspecified> heartbeating] INFO
{noformat}
2017-03-27 12:11:12,584 [BP-2084616792-10.22.6.77-1490641870531 heartbeating]
{noformat}

{noformat}


> BPServiceActor thread name is too long
> --------------------------------------
>
>                 Key: HDFS-11558
>                 URL: https://issues.apache.org/jira/browse/HDFS-11558
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Xiaobing Zhou
>            Priority: Minor
>         Attachments: HDFS-11558.000.patch, HDFS-11558.001.patch, HDFS-11558.002.patch
>
>
> Currently, the thread name looks like
> {code}
> 2017-03-20 18:32:22,022 [DataNode: [[[DISK]file:/Users/szetszwo/hadoop/t2/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/data/dn1_data0,
[DISK]file:/Users/szetszwo/hadoop/t2/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/data/dn1_data1]]
 heartbeating to localhost/127.0.0.1:51772] INFO  ...
> {code}
> which contains the full path for each storage dir.  It is unnecessarily long.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message