[ 
https://issues.apache.org/jira/browse/HDFS-16692?focusedWorklogId=795266&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-795266
 ]

ASF GitHub Bot logged work on HDFS-16692:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Jul/22 13:21
            Start Date: 26/Jul/22 13:21
    Worklog Time Spent: 10m 
      Work Description: ZanderXu commented on PR #4630:
URL: https://github.com/apache/hadoop/pull/4630#issuecomment-1195477719

   > if there are too many prs of the same type, the backport work will be very 
difficult, just personal opinion.
   
   Yes, you are right. I'm also agree. So I will try to fix the same type 
issues together If I can, such as improve code with Lambda. But about useful 
log, maybe I can not to find all of them and fix them together.  But I will try 
my best to do it.
   
   Thank you very much. 
   
   BTW, If it is convenient for you, please send your weChat ID to my 
email([email protected]), we can discuss some issues offline.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 795266)
    Time Spent: 50m  (was: 40m)

> Add detailed scope info in NotEnoughReplicas Reason logs.
> ---------------------------------------------------------
>
>                 Key: HDFS-16692
>                 URL: https://issues.apache.org/jira/browse/HDFS-16692
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When we write some ec data from clients that are not in hdfs cluster, there 
> is a lot of INFO log output, as blew
> {code:shell}
> 2022-07-26 15:50:40,973 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=17}
> 2022-07-26 15:50:40,974 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=18}
> 2022-07-26 15:50:40,974 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=17}
> 2022-07-26 15:50:40,975 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=18}
> 2022-07-26 15:50:40,975 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=17}
> 2022-07-26 15:50:40,976 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=18}
> 2022-07-26 15:50:40,976 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=18}
> 2022-07-26 15:50:40,977 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=18}
> 2022-07-26 15:50:40,977 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=19}
> 2022-07-26 15:50:40,977 INFO  blockmanagement.BlockPlacementPolicy 
> (BlockPlacementPolicyDefault.java:chooseRandom(912)) - Not enough replicas 
> was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1, TOO_MANY_NODES_ON_RACK=3}
> {code}
> I feel that we should add detailed scope info in this log to show the scope 
> that we cannot select any good nodes from.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to