hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11558) BPServiceActor thread name is too long
Date Thu, 06 Apr 2017 14:39:41 GMT

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

Tsz Wo Nicholas Sze commented on HDFS-11558:
--------------------------------------------

> After that, nameserviceId is never null. So that we can remove the null check in formatThreadName.

Sorry that I may not be clear -- I mean pass a non-null value (say "ns") in TestBPOfferService
so that nameserviceId is never null.

> 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,
HDFS-11558.003.patch, HDFS-11558.004.patch, HDFS-11558.005.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