Search

hadoop fs -moveFromLocal

The hadoop moveFromLocal command moves a file from local file system to the hdfs directory.
It removes the original source file. The usage example is shown below:
> hadoop fs -moveFromLocal products /user/DPhadoop/hadoopdemo