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

Attila Doroszlai updated HDDS-3719:
-----------------------------------
    Status: Patch Available  (was: In Progress)

> Datanode may fail to stop
> -------------------------
>
>                 Key: HDDS-3719
>                 URL: https://issues.apache.org/jira/browse/HDDS-3719
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Critical
>              Labels: Triaged, pull-request-available
>
> TestOzoneManagerListVolumes timed out after 2 minutes while trying to stop 
> the mini cluster.  It seems one of the datanodes was stuck in an infinite 
> loop trying to execute a task on a terminated executor:
> {code:title=}
> 2020-06-03 15:28:19,475 [Datanode State Machine Thread - 0] ERROR 
> statemachine.DatanodeStateMachine (DatanodeStateMachine.java:start(221)) - 
> Unable to finish the execution.
> java.util.concurrent.RejectedExecutionException: Task 
> java.util.concurrent.ExecutorCompletionService$QueueingFuture@73c36b6c 
> rejected from 
> org.apache.hadoop.util.concurrent.HadoopThreadPoolExecutor@5c021707[Terminated,
>  pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 24]
>       at 
> java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
>       at 
> java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
>       at 
> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
>       at 
> java.util.concurrent.ExecutorCompletionService.submit(ExecutorCompletionService.java:181)
>       at 
> org.apache.hadoop.ozone.container.common.states.datanode.RunningDatanodeState.execute(RunningDatanodeState.java:143)
>       at 
> org.apache.hadoop.ozone.container.common.statemachine.StateContext.execute(StateContext.java:411)
>       at 
> org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.start(DatanodeStateMachine.java:208)
>       at 
> org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.lambda$startDaemon$0(DatanodeStateMachine.java:375)
>       at java.lang.Thread.run(Thread.java:748)
> {code}
> {code:title=grep -c 'Unable to finish the execution' 
> hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerListVolumes-output.txt}
> 2087250
> {code}
> Test output eventually grew to 2.6GB.
> https://github.com/apache/hadoop-ozone/runs/735169623



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to