Hi,
I want to copy the file which is there in my local windows driver (say D:\Hadoop\test.txt). I’m using Hortonworks sandbox 2.1 VWware as my 1 cluster hadoop environment. I want to shift “test.txt” file from my local drive to hdfs within my sandbox. Can anybody tells me how to do this?
I tried the following command:
<hadoop fs -copyFromLocal D:\Hadoop\test.txt /user/dir1>
But getting the following error:
<-copyFromLocal: Can not create a path from a null string>
I’ve checked using “-ls” the folder is there in my hdfs system.
Thanks!