1. 程式人生 > >HDFS append: Failed to close file /sys/global/log/sys_20160716.log. Lease recovery is in prog

HDFS append: Failed to close file /sys/global/log/sys_20160716.log. Lease recovery is in prog

append資料至hdfs檔案時出現異常:

Failed to close file /sys/global/log/sys_20160716.log. Lease recovery is in progress. Try again later.

append操作的最後,有關閉fs操作

通過 註釋: fs.close解決 (fs: FileSystem)

至於為什麼,還未詳細瞭解。記錄下來,待後續深入探究。。。