[jira] [Comment Edited] (HDFS-15027) Correct target DN's log while balancing.
[ https://issues.apache.org/jira/browse/HDFS-15027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16994082#comment-16994082 ] Xudong Cao edited comment on HDFS-15027 at 12/12/19 2:14 AM: - [~weichiu] Perhaps we should keep the keyword "Moved" to reflect the meaning of moving block during balance, just like : *Moved BLOCK complete, copied from PROXY DN, initiated by* *BALANCER* was (Author: xudongcao): [~weichiu] Perhaps we should keep the keyword "Moved" to reflect the meaning of moving block during balance, just like: {code:java} 2019-12-12 10:06:34,791 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Moved BP-1360308441-192.168.202.11-1576116241828:blk_1073741872_1048 complete, copied from /192.168.202.11:9866, initiated by /192.168.202.13:53536, delHint=c70406f8-a815-4f6f-bdf0-fd3661bd6920{code} > Correct target DN's log while balancing. > > > Key: HDFS-15027 > URL: https://issues.apache.org/jira/browse/HDFS-15027 > Project: Hadoop HDFS > Issue Type: Bug > Components: balancer mover >Affects Versions: 3.2.1 >Reporter: Xudong Cao >Assignee: Xudong Cao >Priority: Minor > Attachments: HDFS-15027.000.patch, HDFS-15027.001.patch > > > During HDFS balancing, after the target DN copied a block from the proxy DN, > it prints a log following the pattern below: > *Moved BLOCK from BALANCER* > This is wrong and misleading, maybe we can improve the pattern like: > *Moved BLOCK complete, copied from PROXY DN, initiated by* *BALANCER* > > An example log of target DN during balancing: > 1. Wrong log printing before jira: > {code:java} > 2019-12-04 09:33:19,718 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: > Moved BP-1426342230-192.168.202.11-1575277482603:blk_1073741889_1065 from > /192.168.202.13:56322, delHint=54a14a41-0d7c-4487-b4f0-ce2848f86b48{code} > 2. Correct log printing after jira: > {code:java} > 2019-12-12 10:06:34,791 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: > Moved BP-1360308441-192.168.202.11-1576116241828:blk_1073741872_1048 > complete, copied from /192.168.202.11:9866, initiated by > /192.168.202.13:53536, delHint=c70406f8-a815-4f6f-bdf0-fd3661bd6920{code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Comment Edited] (HDFS-15027) Correct target DN's log while balancing.
[ https://issues.apache.org/jira/browse/HDFS-15027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16994082#comment-16994082 ] Xudong Cao edited comment on HDFS-15027 at 12/12/19 2:11 AM: - [~weichiu] Perhaps we should keep the keyword "Moved" to reflect the meaning of moving block during balance, just like: {code:java} 2019-12-12 10:06:34,791 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Moved BP-1360308441-192.168.202.11-1576116241828:blk_1073741872_1048 complete, copied from /192.168.202.11:9866, initiated by /192.168.202.13:53536, delHint=c70406f8-a815-4f6f-bdf0-fd3661bd6920{code} was (Author: xudongcao): [~weichiu] Perhaps we should keep the keyword "Moved" to reflect the meaning of moving block during balance, just like: {code:java} 2019-12-12 10:06:34,791 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Moved BP-1360308441-192.168.202.11-1576116241828:blk_1073741872_1048 complete, copied from /192.168.202.11:9866, initiated by /192.168.202.13:53536,delHint=c70406f8-a815-4f6f-bdf0-fd3661bd6920{code} > Correct target DN's log while balancing. > > > Key: HDFS-15027 > URL: https://issues.apache.org/jira/browse/HDFS-15027 > Project: Hadoop HDFS > Issue Type: Bug > Components: balancer mover >Affects Versions: 3.2.1 >Reporter: Xudong Cao >Assignee: Xudong Cao >Priority: Minor > Attachments: HDFS-15027.000.patch > > > During HDFS balancing, after the target DN copied a block from the proxy DN, > it prints a log following the pattern below: > *Moved BLOCK from BALANCER* > This is wrong and misleading, maybe we can improve the pattern like: > *Moved BLOCK complete, copied from PROXY DN, initiated by* *BALANCER* > > An example log of target DN during balancing: > 1. Wrong log printing before jira: > {code:java} > 2019-12-04 09:33:19,718 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: > Moved BP-1426342230-192.168.202.11-1575277482603:blk_1073741889_1065 from > /192.168.202.13:56322, delHint=54a14a41-0d7c-4487-b4f0-ce2848f86b48{code} > 2. Correct log printing after jira: > {code:java} > 2019-12-12 10:06:34,791 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: > Moved BP-1360308441-192.168.202.11-1576116241828:blk_1073741872_1048 > complete, copied from /192.168.202.11:9866, initiated by > /192.168.202.13:53536, delHint=c70406f8-a815-4f6f-bdf0-fd3661bd6920{code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Comment Edited] (HDFS-15027) Correct target DN's log while balancing.
[ https://issues.apache.org/jira/browse/HDFS-15027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16987459#comment-16987459 ] Xudong Cao edited comment on HDFS-15027 at 12/4/19 2:40 AM: cc [~weichiu] Sorry, patch uploaded again, this is just a minor log improvement, I think there's no need for unit test. was (Author: xudongcao): cc [~weichiu] Sorry, patch uploaded again, this is just a minor log improve, I think there's no need for unit test. > Correct target DN's log while balancing. > > > Key: HDFS-15027 > URL: https://issues.apache.org/jira/browse/HDFS-15027 > Project: Hadoop HDFS > Issue Type: Bug > Components: balancer mover >Affects Versions: 3.2.1 >Reporter: Xudong Cao >Assignee: Xudong Cao >Priority: Minor > Attachments: HDFS-15027.000.patch > > > During HDFS balancing, after the target DN copied a block from the proxy DN, > it prints a log following the pattern below: > *Moved BLOCK from BALANCER* > This is somehow misleading, maybe we can improve the pattern like: > *Copied BLOCK from PROXY DN, initiated by* *BALANCER* > > An example log of target DN during balancing: > 1. Wrong log printing before jira: > {code:java} > 2019-12-04 09:33:19,718 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: > Moved BP-1426342230-192.168.202.11-1575277482603:blk_1073741889_1065 from > /192.168.202.13:56322, delHint=54a14a41-0d7c-4487-b4f0-ce2848f86b48{code} > 2. Correct log printing after jira: > {code:java} > 2019-12-04 10:32:06,707 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: > Copied BP-428834875-192.168.202.11-1575425340126:blk_1073741918_1094 from > /192.168.202.11:9866, initiated by /192.168.202.13:44502, > delHint=84a0626a-5fa4-4c66-a776-074f537d4235{code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org