Need help with executing the following commands
3 Answer(s)
DeZyre Support
Hi Hemanth,
please let us know which assignment is his and what hdfs commands are you trying to execute.
thanks
Jul 30 2014 09:28 AM
please let us know which assignment is his and what hdfs commands are you trying to execute.
thanks
Mohammad K
This is assignment # 2 in Module2.
Wanted to see list of files and directory: $hadoop fs -ls /
The result shows /dezyre, /tmp, /user, /var but there is no employee.txt file listed.
So I try to use command $"hadoop fs -vi employee.txt" however it does not recognize this command.
I also created a file employee.txt using command $"vi employee.txt" but I can't copy to /dezyre directory.
I'm stuck here.
Aug 01 2014 12:00 PM
Wanted to see list of files and directory: $hadoop fs -ls /
The result shows /dezyre, /tmp, /user, /var but there is no employee.txt file listed.
So I try to use command $"hadoop fs -vi employee.txt" however it does not recognize this command.
I also created a file employee.txt using command $"vi employee.txt" but I can't copy to /dezyre directory.
I'm stuck here.