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

ASF GitHub Bot updated HDDS-10880:
----------------------------------
    Labels: pull-request-available  (was: )

> Duplicate Pipeline ID Detected in ReconContainerManager
> -------------------------------------------------------
>
>                 Key: HDDS-10880
>                 URL: https://issues.apache.org/jira/browse/HDDS-10880
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Recon
>            Reporter: Mohammad Arafat Khan
>            Assignee: Mohammad Arafat Khan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> While running the Ozone Recon, an error was encountered during the process of 
> checking and adding a new container. The exception indicates a duplicate 
> pipeline ID was detected
> *Expected Behaviour*
> New Containers should be added without encountering duplicate pipeline ID 
> exception.
> {code:java}
> ERROR 
> [FixedThreadPoolWithAffinityExecutor-1-0]-org.apache.hadoop.ozone.recon.scm.ReconContainerManager:
>  Exception while checking and adding new container.
> org.apache.hadoop.hdds.scm.exceptions.SCMException: 
> org.apache.ratis.protocol.exceptions.StateMachineException: 
> org.apache.hadoop.hdds.scm.pipeline.DuplicatedPipelineIdException from Server 
> peer@group-3A7F435068ED: Duplicate pipeline ID 
> PipelineID=cc9068c3-09b2-433e-8a30-cb89c0dbf4ad detected.
>     at 
> org.apache.hadoop.hdds.scm.ha.SCMHAInvocationHandler.translateException(SCMHAInvocationHandler.java:170)
>     at 
> org.apache.hadoop.hdds.scm.ha.SCMHAInvocationHandler.invokeRatis(SCMHAInvocationHandler.java:108)
>     at 
> org.apache.hadoop.hdds.scm.ha.SCMHAInvocationHandler.invoke(SCMHAInvocationHandler.java:76)
>     at com.sun.proxy.$Proxy52.addPipeline(Unknown Source)
>     at 
> org.apache.hadoop.ozone.recon.scm.ReconPipelineManager.addPipeline(ReconPipelineManager.java:173)
>     at 
> org.apache.hadoop.ozone.recon.scm.ReconContainerManager.addNewContainer(ReconContainerManager.java:236)
>     at 
> org.apache.hadoop.ozone.recon.scm.ReconContainerManager.checkAndAddNewContainerBatch(ReconContainerManager.java:161)
>     at 
> org.apache.hadoop.ozone.recon.scm.ReconIncrementalContainerReportHandler.onMessage(ReconIncrementalContainerReportHandler.java:73)
>     at 
> org.apache.hadoop.ozone.recon.scm.ReconIncrementalContainerReportHandler.onMessage(ReconIncrementalContainerReportHandler.java:42)
>     at 
> org.apache.hadoop.hdds.server.events.FixedThreadPoolWithAffinityExecutor$ContainerReportProcessTask.run(FixedThreadPoolWithAffinityExecutor.java:276)
>     at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>     at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>     at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>     at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>     at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: org.apache.ratis.protocol.exceptions.StateMachineException: 
> org.apache.hadoop.hdds.scm.pipeline.DuplicatedPipelineIdException from Server 
> peer@group-3A7F435068ED: Duplicate pipeline ID 
> PipelineID=cc9068c3-09b2-433e-8a30-cb89c0dbf4ad detected.
>     at 
> org.apache.hadoop.hdds.scm.ha.SCMHAManagerStub$RatisServerStub.submitRequest(SCMHAManagerStub.java:199)
>     at 
> org.apache.hadoop.hdds.scm.ha.SCMHAInvocationHandler.invokeRatisImpl(SCMHAInvocationHandler.java:139)
>     at 
> org.apache.hadoop.hdds.scm.ha.SCMHAInvocationHandler.invokeRatis(SCMHAInvocationHandler.java:106)
>     ... 13 more
> Caused by: org.apache.hadoop.hdds.scm.pipeline.DuplicatedPipelineIdException: 
> Duplicate pipeline ID PipelineID=cc9068c3-09b2-433e-8a30-cb89c0dbf4ad 
> detected.
>     at 
> org.apache.hadoop.hdds.scm.pipeline.PipelineStateMap.addPipeline(PipelineStateMap.java:86)
>     at 
> org.apache.hadoop.hdds.scm.pipeline.PipelineStateManagerImpl.addPipeline(PipelineStateManagerImpl.java:99)
>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>     at 
> org.apache.hadoop.hdds.scm.ha.SCMHAManagerStub$RatisServerStub.process(SCMHAManagerStub.java:229)
>     at 
> org.apache.hadoop.hdds.scm.ha.SCMHAManagerStub$RatisServerStub.submitRequest(SCMHAManagerStub.java:191)
>     ... 15 more{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to