[
https://issues.apache.org/jira/browse/HDFS-17243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780966#comment-17780966
]
ASF GitHub Bot commented on HDFS-17243:
---------------------------------------
haiyang1987 opened a new pull request, #6238:
URL: https://github.com/apache/hadoop/pull/6238
### Description of PR
When Balancer is running, it is found that there are many logs, such as
`INFO balancer.Dispatcher (Dispatcher.java:markMovedIfGoodBlock(306)) - No
striped internal block on source xxx:50010:SSD, block blk_-xxx_xxx
size=982142783. Skipping.`
these logs show that Balancer cannot to balancer SSD type source, and it
causes that Balancer will frequently get blocks from NN through getBlocks RPC.
The main reason is the storage type in the current Source is SSD, but now
getBlocks obtains all list of blocks belonging to datanode, so need add the
parameter storage type for getBlocks method
> Add the parameter storage type for getBlocks method
> ---------------------------------------------------
>
> Key: HDFS-17243
> URL: https://issues.apache.org/jira/browse/HDFS-17243
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: balamcer
> Reporter: Haiyang Hu
> Assignee: Haiyang Hu
> Priority: Major
>
> When Balancer is running, it is found that there are many logs, such as
> {code:java}
> INFO balancer.Dispatcher (Dispatcher.java:markMovedIfGoodBlock(306)) - No
> striped internal block on source xxx:50010:SSD, block blk_-xxx_xxx
> size=982142783. Skipping.
> {code}
> these logs show that Balancer cannot to balancer SSD type source, and it
> causes that Balancer will frequently get blocks from NN through getBlocks RPC.
> The main reason is the storage type in the current Source is SSD, but now
> getBlocks obtains all list of blocks belonging to datanode, so need add the
> parameter storage type for getBlocks method
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]