You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2020/10/31 11:49:00 UTC
[jira] [Updated] (HDDS-4413) Container replication logs success
despite import failure
[ https://issues.apache.org/jira/browse/HDDS-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena updated HDDS-4413:
-------------------------------
Labels: pull-request-available (was: )
> Container replication logs success despite import failure
> ---------------------------------------------------------
>
> Key: HDDS-4413
> URL: https://issues.apache.org/jira/browse/HDDS-4413
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Datanode
> Affects Versions: 1.0.0
> Reporter: Wei-Chiu Chuang
> Priority: Minor
> Labels: pull-request-available
>
> See the following log. There was an EOF exception when importing the container, however, the log message next line says successful.
> {noformat}
> 2020-10-30 08:11:02,985 INFO org.apache.hadoop.ozone.container.replication.DownloadAndImportReplicator: Starting replication of container 740890 from [0ffe3494-8498-48b8-8877-e7986a151e
> a4{ip: 10.12.1.72, host: rhel02.ozone.cisco.local, networkLocation: /default, certSerialId: null}, ab448e94-d2fd-48b0-bd57-8d4e88cbd893{ip: 10.12.1.83, host: rhel13.ozone.cisco.local, n
> etworkLocation: /default, certSerialId: null}]
> 2020-10-30 08:11:08,548 INFO org.apache.hadoop.ozone.container.replication.GrpcReplicationClient: Container 740890 is downloaded to /tmp/container-copy/container-740890.tar.gz
> 2020-10-30 08:11:08,548 INFO org.apache.hadoop.ozone.container.replication.DownloadAndImportReplicator: Container 740890 is downloaded, starting to import.
> 2020-10-30 08:11:08,563 ERROR org.apache.hadoop.ozone.container.replication.DownloadAndImportReplicator: Can't import the downloaded container data id=740890
> java.io.IOException: unexpected EOF with 7680 bytes unread. Occured at byte: 7447040
> at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:490)
> at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.skip(TarArchiveInputStream.java:182)
> at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.getNextTarEntry(TarArchiveInputStream.java:220)
> at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.getNextEntry(TarArchiveInputStream.java:435)
> at org.apache.hadoop.ozone.container.keyvalue.TarContainerPacker.unpackContainerDescriptor(TarContainerPacker.java:182)
> at org.apache.hadoop.ozone.container.replication.DownloadAndImportReplicator.importContainer(DownloadAndImportReplicator.java:74)
> at org.apache.hadoop.ozone.container.replication.DownloadAndImportReplicator.replicate(DownloadAndImportReplicator.java:121)
> at org.apache.hadoop.ozone.container.replication.ReplicationSupervisor$TaskRunner.run(ReplicationSupervisor.java:129)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> 2020-10-30 08:11:08,564 INFO org.apache.hadoop.ozone.container.replication.DownloadAndImportReplicator: Container 740890 is replicated successfully
> 2020-10-30 08:11:08,564 INFO org.apache.hadoop.ozone.container.replication.ReplicationSupervisor: Container 740890 is replicated.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org