You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/07/24 12:48:00 UTC

[jira] [Commented] (HDFS-15815) if required storageType are unavailable, log the failed reason during choosing Datanode

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

ASF GitHub Bot commented on HDFS-15815:
---------------------------------------

zlokomatic commented on PR #2882:
URL: https://github.com/apache/hadoop/pull/2882#issuecomment-2247828873

   > Just upgraded our cluster from 3.1.x to 3.3.x, and seeing this log line printed hundreds of times per minute:
   > 
   > ```
   > INFO org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: Not enough replicas was chosen. Reason:{NO_REQUIRED_STORAGE_TYPE=1}
   > ```
   > 
   > We have a single rack topology, with replication factor of 3.
   > 
   > For now working around this issue by setting log level of BlockPlacementPolicy to WARN in log4j.properties:
   > 
   > ```
   > log4j.logger.org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy=WARN
   > ```
   
   We got the same problem. 
   Replication factor is 3
   dfs.use.dfs.network.topology is set to false




>  if required storageType are unavailable, log the failed reason during choosing Datanode
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-15815
>                 URL: https://issues.apache.org/jira/browse/HDFS-15815
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: block placement
>            Reporter: Yang Yun
>            Assignee: Yang Yun
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.3.1, 3.4.0, 3.2.3
>
>         Attachments: HDFS-15815.001.patch, HDFS-15815.002.patch, HDFS-15815.003.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> For better debug,  if required storageType are unavailable, log the failed reason "NO_REQUIRED_STORAGE_TYPE" when choosing Datanode.
>  
>  
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org