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

Yang Yun commented on HDFS-15815:
---------------------------------

Can we chech the storage policy? if it is not set rightly, the first choice 
always fails,and fall fall back to second choice.

and for simple cluster and don't care about storage type, we can set the 
'dfs.use.dfs.network.topology' to false.

if need, i can set the log to debug.

>  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.3.4#803005)

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

Reply via email to