From hdfs-issues-return-276095-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Wed Aug 7 03:16:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 48A95180595 for ; Wed, 7 Aug 2019 05:16:02 +0200 (CEST) Received: (qmail 11662 invoked by uid 500); 7 Aug 2019 03:16:01 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 11614 invoked by uid 99); 7 Aug 2019 03:16:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2019 03:16:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 80D54E2FC2 for ; Wed, 7 Aug 2019 03:16:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2EA9D26663 for ; Wed, 7 Aug 2019 03:16:00 +0000 (UTC) Date: Wed, 7 Aug 2019 03:16:00 +0000 (UTC) From: "Ayush Saxena (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-14608) DataNode$DataTransfer should be named MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-14608?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1690= 1653#comment-16901653 ]=20 Ayush Saxena commented on HDFS-14608: ------------------------------------- Well all seems to be unrelated, But I have retriggered build, No harm being= double sure. > DataNode$DataTransfer should be named > ------------------------------------- > > Key: HDFS-14608 > URL: https://issues.apache.org/jira/browse/HDFS-14608 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: =C3=8D=C3=B1igo Goiri > Assignee: =C3=8D=C3=B1igo Goiri > Priority: Minor > Fix For: 3.3.0 > > Attachments: HDFS-14608.000.patch, HDFS-14608.001.patch > > > Currently, the {{DataTransfer}} thread has no name and it just outputs th= e default {{toString()}}. > This shows in the logs in jstack as something like: > {code} > 2019-06-25 11:01:01,211 INFO [org.apache.hadoop.hdfs.server.datanode.Data= Node$DataTransfer@609ed67a] org.apache.hadoop.hdfs.server.datanode.DataNode= : DataTransfer, at CO4AEAP0000C1AF:10010: Transmitted BP-1191059133-10.1.2.= 3-1458888702348:blk_1113379522_69745835 (numBytes=3D485214) to 10.1.2.3/10.= 1.2.3:10010 > {code} > As this uses the {{Daemon}} class, the name is set based on: > {code} > public Daemon(Runnable runnable) { > super(runnable); > this.runnable =3D runnable; > this.setName(((Object)runnable).toString()); > } > {code} > We should implement toString to at least have the name of the block being= transfferred or something similar to what DataXceiver does (e.g., HDFS-337= 5). -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org