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 "Sammi Chen (JIRA)" <ji...@apache.org> on 2019/07/26 03:10:00 UTC

[jira] [Commented] (HDDS-1707) SCMContainerPlacementRackAware#chooseDatanodes throws not enough datanodes when all nodes(40) are up

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

Sammi Chen commented on HDDS-1707:
----------------------------------

Thanks [~msingh] for report his. It been fixed by code change in HDDS-1713. 

> SCMContainerPlacementRackAware#chooseDatanodes throws not enough datanodes when all nodes(40) are up
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-1707
>                 URL: https://issues.apache.org/jira/browse/HDDS-1707
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: SCM
>            Reporter: Mukul Kumar Singh
>            Priority: Major
>
> SCMContainerPlacementRackAware#chooseDatanodes is failing with the following error repeatedly.
> {code}
> 2019-06-17 22:15:52,455 WARN org.apache.hadoop.hdds.scm.container.ReplicationManager: Exception while replicating container 407.
> org.apache.hadoop.hdds.scm.exceptions.SCMException: No enough datanodes to choose.
>         at org.apache.hadoop.hdds.scm.container.placement.algorithms.SCMContainerPlacementRackAware.chooseDatanodes(SCMContainerPlacementRackAware.java:100)
>         at org.apache.hadoop.hdds.scm.container.ReplicationManager.handleUnderReplicatedContainer(ReplicationManager.java:487)
>         at org.apache.hadoop.hdds.scm.container.ReplicationManager.processContainer(ReplicationManager.java:293)
>         at java.util.concurrent.ConcurrentHashMap$KeySetView.forEach(ConcurrentHashMap.java:4649)
>         at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080)
>         at org.apache.hadoop.hdds.scm.container.ReplicationManager.run(ReplicationManager.java:205)
>         at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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