Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1707

SCMContainerPlacementRackAware#chooseDatanodes throws not enough datanodes when all nodes(40) are up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • SCM
    • None

    Description

      SCMContainerPlacementRackAware#chooseDatanodes is failing with the following error repeatedly.

      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)
      

      Attachments

        Activity

          People

            Sammi Sammi Chen
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: