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

Replication of closed containers is not working

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.2.1
    • SCM
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment