linux - I am unable to install//download Hadoop with Ubuntu -


i using ubuntu in virtualbox (both installed on windows os). downloaded hadoop windows (downloads folder) in order install on ubuntu. unable complete task. follow hadoop installation steps here.

i tried 2 options below , received following errors:

hduser@ubuntu14:/usr/local$ sudo cp ~/downloads/hadoop2.7.1.tar.gz . cp: cannot stat ‘/home/hduser/downloads/hadoop2.7.1.tar.gz’: no such file or directory 

and:

hduser@ubuntu14:/usr/local$ wget http://mirrors.sonic.net/apache/hadoop/common/hadoop-2.7.1/hadoop-2.7.1.tar.gz resolving mirrors.sonic.net (mirrors.sonic.net)... 69.12.162.27 connecting mirrors.sonic.net (mirrors.sonic.net)|69.12.162.27|:80... connected. http request sent, awaiting response... 200 ok length: 210606807 (201m) [application/x-gzip] hadoop-2.7.1.tar.gz: permission denied  cannot write ‘hadoop-2.7.1.tar.gz’ (permission denied). 

your errors pretty intuitive here.

  • option 1 tried:

you cannot copy machine hosting vm vm unless have defined shared folder, hence /home/hduser/downloads/hadoop2.7.1.tar.gz not found error.

  • option 2 tried:

cannot write hadoop-2.7.1.tar.gz (permission denied). means not have appropriate permissions in order download file.

you can try same command in option 2 sudo in order fix or download hadoop tar file within vm , extract first option.


Comments