In Hadoop, how to show current process of -copyFromLocal

hadoophdfs

I am still a newbie learner of Hadoop, and this time I was trying to process a 106GB file.
I used -copyFromLocal to copy that big file to my Hadoop DFS, but since the file is big I have to wait for a long time without a clue about the current copying status.

Is there any way to show the current file copying status with this command?

Thank you guys in advance for your help!

Best Answer

CopyFromLocal does not have the ability to display the file copy progress. Alternatively, you could open another shell and run the $ watch hadoop fs -ls <filenameyouarecopying>. This will display the file and its size once every 2.0 seconds.

Related Topic