You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2021/02/26 09:16:00 UTC

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

Wei-Chiu Chuang created HDDS-4873:
-------------------------------------

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



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