Where Hadoop installed in cloudera VM - CDH4?



0
Some hadoop commands are not working in VM. below are the command i tried and getting some errors.

[cloudera@localhost ~]$ cd /usr/lib/hadoop-0.20
bash: cd: /usr/lib/hadoop-0.20: No such file or directory
[cloudera@localhost ~]$ cd /user/lib/hadoop-0.20
bash: cd: /user/lib/hadoop-0.20: No such file or directory

[cloudera@localhost ~]$ hadoop fs --help
--help: Unknown command

how to find where hadoop is installed in VM?

2 Answer(s)


0

Hi Venkata,

Please check the screenshot attached.
You can use the command- ls /usr/lib/
To check the containing files and folders.


0

hi Venkata,

The libraries are in /user/lib/hadoop-0.20-mapreduce