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 "Doroszlai, Attila (Jira)" <ji...@apache.org> on 2019/09/13 11:42:00 UTC

[jira] [Created] (HDDS-2123) Stalled multi-threaded initial key creation

Doroszlai, Attila created HDDS-2123:
---------------------------------------

             Summary: Stalled multi-threaded initial key creation
                 Key: HDDS-2123
                 URL: https://issues.apache.org/jira/browse/HDDS-2123
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
    Affects Versions: 0.5.0
            Reporter: Doroszlai, Attila


Multi-threaded key creation via Freon is stalled with to {{appendEntries Timeout}}:

{code:title=repro}
cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozone
docker-compose up -d --scale datanode=3
docker-compose exec scm ozone freon rk --numOfVolumes=1 --numOfBuckets=1 --numOfKeys=10 --numOfThreads=10 --replicationType=RATIS --factor=THREE
{code}

{code:title=log sample}
...
datanode_3  | 2019-09-13 10:46:11 INFO  SegmentedRaftLogWorker:569 - ce855ef6-55f7-4725-a329-f51dff189098@group-E5C50B0B909A-SegmentedRaftLogWorker: created new log segment /data/metadata/ratis/21ee95af-dd0e-464e-8db1-e5c50b0b909a/current
/log_inprogress_0
datanode_3  | 2019-09-13 10:50:30 WARN  GrpcLogAppender:200 - ce855ef6-55f7-4725-a329-f51dff189098@group-E5C50B0B909A->5d9f5b5e-c9ef-4425-9cda-f0529bb810d9-GrpcLogAppender: appendEntries Timeout, request=ce855ef6-55f7-4725-a329-f51dff189098->5d9f5b5e-c9ef-4425-9cda-f0529bb810d9#105-t2, previous=(t:2, i:2), leaderCommit=2, initializing? false, entries: size=1, first=(t:2, i:3), STATEMACHINELOGENTRY, client-C2E2361828A7, cid=3
...
{code}

This seems to happen only if executed as a first key creation command.  Works fine after having created some keys from single-thread (using {{ozone sh}} or {{ozone freon rk --numOfThreads=1 ...}}).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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