hadoop get 'No such file or directory' hadoop get 'No such file or directory' hadoop hadoop

hadoop get 'No such file or directory'


Run below code on your command prompt:

hadoop fs -ls /hdfs_file local_file


You may want to attach some prefix to local_file, e.g. str(int(time.time()*1000000)) + local_file

_COPYING_ is a staging file during downloading. If you used the same local_file name to download in a multi-process job, some process finished earlier therefore local_file._COPYING_ was deleted. As a result, other processes that run a little bit slower would find local_file._COPYING_ doesn't exist.