hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elek, Marton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDDS-432) Replication of closed containers is not working
Date Tue, 11 Sep 2018 11:55:00 GMT
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message