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

Replication of closed containers is not working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.1
    • Component/s: SCM
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Start a cluster with three datanodes:

      docker-compose up -d
      docker-compose scale datanode=3

      2. Create keys:
      ozone oz -createVolume /vol1 -user hadoop --quota 1TB --root
      ozone oz -createBucket /vol1/bucket
      dd if=/dev/zero of=/tmp/test bs=1024000 count=512
      ozone oz -putKey /vol1/bucket/file1 -replicationFactor THREE -file /tmp/test

      3. Close the containers with scmcli

      4. kill a datanode with a replica

      for i in `seq 1 4`; do docker diff ozone_datanode_$i && echo "----------------"; done
      #Choose a datanode with replica
      docker kill ozone_datanode_3
      

      5. Wait

      6. After a while the last data node should container the chunks (checked with docker diff)

        Attachments

        1. HDDS-432-ozone-0.2.001.patch
          14 kB
          Marton Elek

          Activity

            People

            • Assignee:
              elek Marton Elek
              Reporter:
              elek Marton Elek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: