You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Neo Yang (Jira)" <ji...@apache.org> on 2021/03/24 13:18:00 UTC

[jira] [Resolved] (HDDS-4873) Re-replication failure throws NPE

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

Neo Yang resolved HDDS-4873.
----------------------------
    Resolution: Resolved

> Re-replication failure throws NPE
> ---------------------------------
>
>                 Key: HDDS-4873
>                 URL: https://issues.apache.org/jira/browse/HDDS-4873
>             Project: Apache Ozone
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Ke-Yi Sung
>            Priority: Trivial
>              Labels: pull-request-available
>
> If downloading the container from source fails, DN throws an NPE. 
> {noformat}
> 1:02:16.055 AM	ERROR	DownloadAndImportReplicator	
> Container 998373 replication was unsuccessful.
> java.lang.NullPointerException
> 	at org.apache.hadoop.ozone.container.replication.DownloadAndImportReplicator.replicate(DownloadAndImportReplicator.java:116)
> 	at org.apache.hadoop.ozone.container.replication.ReplicationSupervisor$TaskRunner.run(ReplicationSupervisor.java:129)
> 	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)
> {noformat}
> We should handle it more gracefully. Perhaps retry one more time?



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