[ 
https://issues.apache.org/jira/browse/HDDS-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-2123:
-----------------------------------
    Target Version/s: 0.6.0  (was: 0.5.0)

> 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: Attila Doroszlai
>            Priority: Critical
>         Attachments: datanode.log, om.log, scm.log
>
>
> 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.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to