HDFS appendToFile 失败:lease recovery is in progress
No, the command did not execute successfully. The error message 'lease recovery is in progress' indicates that the HDFS namenode is currently recovering a lease for the file you are trying to append to. This is a temporary issue and the operation will likely succeed if you try again later.
Here's a breakdown of the error:
- 'lease recovery is in progress': This indicates that the namenode is recovering a lease for the file. Leases are used to manage concurrent access to files in HDFS. If a datanode crashes, the namenode needs to recover the lease for that file before any further operations can be performed.
Solution: Try running the command again later. Once the lease recovery is complete, the append operation should succeed. You can also check the HDFS namenode logs for more details about the lease recovery process.
原文地址: https://www.cveoy.top/t/topic/oLfj 著作权归作者所有。请勿转载和采集!