当前位置: 动力学知识库 > 问答 > 编程问答 >

hadoop installation directory error

问题描述:

I am trying to setup hadoop from the blog : http://www.bogotobogo.com/Hadoop/BigData_hadoop_Install_on_ubuntu_single_node_cluster.php

I can do :

[email protected]:~$ wget http://mirrors.sonic.net/apache/hadoop/common/hadoop-2.6.0/hadoop-2.6.0.tar.gz

[email protected]:~$ tar xvzf hadoop-2.6.0.tar.gz

after that when I try to :

[email protected]:~/hadoop-2.6.0$ sudo mv * /usr/local/hadoop

and it gives an error like No Such file or directory.

What is the main problem here?

Thank you

网友答案:

Once the hadoop is untarred , check the actual path where it has done this operation and verify the path you are on is correct .

[email protected]:~$ tar xvzf hadoop-2.6.0.tar.gz .

[email protected]:~$ ls -lrt

And see if it is here

网友答案:

You should probably do

 sudo mv ~/hadoop-2.6.0 /usr/local/hadoop
网友答案:

Give a try with,

[email protected]:~$ tar xvzf hadoop-2.6.0.tar.gz .
[email protected]:~$ sudo mkdir -p /usr/local/hadoop
[email protected]:~$ mv hadoop-2.6.0 /usr/local/hadoop

Here, I found a very simple tutorial to install apache hadoop single node cluster setup

分享给朋友:
您可能感兴趣的文章:
随机阅读: