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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to