Assign 2 Q3 Copy File


2 Answer(s)


hi Kapil,

The file you are trying to copy to hadoop should be existing on your local file system. first create a sample file on local FS and using the "put" or "copyFromLocal" command to push the file to hadoop FS.

Shobhan,

Is it enough to create a sample.txt in C:\ or should we create sample.txt file in the VM? I am unable to create sample on the and Put or copyfromlocal does not identify the file path. Not sure what I am doing wrong.