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

Stephen O'Donnell resolved HDDS-9661.
-------------------------------------
    Fix Version/s: 1.4.0
       Resolution: Fixed

> Datanode should not need to download existing container
> -------------------------------------------------------
>
>                 Key: HDDS-9661
>                 URL: https://issues.apache.org/jira/browse/HDDS-9661
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Sumit Agrawal
>            Assignee: Sumit Agrawal
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> 2023-10-19 12:09:33,100 WARN 
> [ReplicationContainerReader-3]-org.apache.hadoop.ozone.container.common.impl.ContainerSet:
>  Container already exists with container Id 11571
> 2023-10-19 12:09:34,023 WARN 
> [ReplicationContainerReader-3]-org.apache.hadoop.ozone.container.replication.SendContainerRequestHandler:
>  Failed to import container 11571
> org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException:
>  Container already exists with container Id 11571
>         at 
> org.apache.hadoop.ozone.container.common.impl.ContainerSet.addContainer(ContainerSet.java:113)
>         at 
> org.apache.hadoop.ozone.container.replication.ContainerImporter.importContainer(ContainerImporter.java:103)
>         at 
> org.apache.hadoop.ozone.container.replication.SendContainerRequestHandler.onCompleted(SendContainerRequestHandler.java:113)
>         at 
> org.apache.ratis.thirdparty.io.grpc.stub.ServerCalls$StreamingServerCallHandler$StreamingServerCallListener.onHalfClose(ServerCalls.java:273)
>         at 
> org.apache.ratis.thirdparty.io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
>         at 
> org.apache.ratis.thirdparty.io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
>         at 
> org.apache.ratis.thirdparty.io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
>         at 
> org.apache.ratis.thirdparty.io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:355)
>         at 
> org.apache.ratis.thirdparty.io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:867)
>         at 
> org.apache.ratis.thirdparty.io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
>         at 
> org.apache.ratis.thirdparty.io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
>         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)
> 2023-10-19 12:09:40,705 WARN 
> [ReplicationContainerReader-2]-org.apache.hadoop.ozone.container.replication.SendContainerRequestHandler:
>  Failed to import container 11189
> org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException:
>  Container 11189 unpack failed because ContainerFile 
> /data/2/hadoop-ozone/datanode/data/hdds/CID-25dbc6d5-352a-4388-ab25-7efc5b951cf7/current/containerDir21/11189
>  already exists
>         at 
> org.apache.hadoop.ozone.container.keyvalue.TarContainerPacker.unpackContainerData(TarContainerPacker.java:109)
>         at 
> org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.importContainerData(KeyValueContainer.java:571)
>         at 
> org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.importContainer(KeyValueHandler.java:1039)
>         at 
> org.apache.hadoop.ozone.container.ozoneimpl.ContainerController.importContainer(ContainerController.java:167)
>         at 
> org.apache.hadoop.ozone.container.replication.ContainerImporter.importContainer(ContainerImporter.java:101)
>         at 
> org.apache.hadoop.ozone.container.replication.SendContainerRequestHandler.onCompleted(SendContainerRequestHandler.java:113)
>         at 
> org.apache.ratis.thirdparty.io.grpc.stub.ServerCalls$StreamingServerCallHandler$StreamingServerCallListener.onHalfClose(ServerCalls.java:273)
>         at 
> org.apache.ratis.thirdparty.io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
>         at 
> org.apache.ratis.thirdparty.io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
>         at 
> org.apache.ratis.thirdparty.io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
>         at 
> org.apache.ratis.thirdparty.io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:355)
>         at 
> org.apache.ratis.thirdparty.io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:867)
>         at 
> org.apache.ratis.thirdparty.io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
>         at 
> org.apache.ratis.thirdparty.io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
>         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)



--
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