hadoop2.6.0 sudo sbin / start-dfs.sh

时间:2015-01-20 11:56:38

标签: ubuntu hadoop

当我尝试以伪分布式模式启动hadoop时。我遇到了这个问题。我只是一个hadoop的初学者。谁能帮我?提前谢谢。

lty@lty-Ubuntu:/usr/local/hadoop-2.6.0$ sudo sbin/start-dfs.sh

Java HotSpot(TM) Client VM warning: You have loaded library /usr/local/hadoop-2.6.0/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.

强烈建议您使用execstack -c <libfile>修复图书馆,或将其与-z noexecstack相关联。

15/01/20 19:43:38 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

Starting namenodes on [localhost]
root@localhost's password:

1 个答案:

答案 0 :(得分:0)

第一个是警告,你可以忽略它,为了更好地理解问题,请阅读Hadoop "Unable to load native-hadoop library for your platform" warning

要消除每个操作的密码提示,您应该为要启动Hadoop的用户设置无密码ssh。 请按照此处提到的步骤进行操作 - http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html