Thursday, December 4, 2014

Hadoop copyFromLocal command

If you are running for the first time, please check whether hadoop is installed or not and command to check hadoop version is 

hadoop version

If you can view version of hadoop succesfully, then try coping files from local to hdfs and command goes below.

hadoop fs -copyFromLocal  "givelocaldirectory"  "givehdfsdirectory"