You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/09/11 11:55:00 UTC

[jira] [Created] (HDDS-432) Replication of closed containers is not working

Elek, Marton created HDDS-432:
---------------------------------

             Summary: Replication of closed containers is not working
                 Key: HDDS-432
                 URL: https://issues.apache.org/jira/browse/HDDS-432
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: SCM
            Reporter: Elek, Marton
            Assignee: Elek, Marton
             Fix For: 0.2.1


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

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

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




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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