What causes "Found checksum error" when updating a deleted file on HDFS?
<p>When I deleted a file on HDFS, and then tried to upload an updated version (with the same name) to the HDFS, I got this checksum error:</p>

<p><a href="https://i.stack.imgur.com/OJyOx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OJyOx.png" alt="enter image description here"></a></p>

<p>The error message reads: </p>

<blockquote>
  <p>org.apache.hadoop.fs.ChecksumException: Checksum error: file:/root/Desktop/test_data/dupli.txt at 0 exp: 1607003671 got: -1788866132</p>
</blockquote>

<p>How do I upload an updated version of file on HDFS?</p>