您的位置:首页 > 运维架构

hadoop 单节点和伪分布式安装配置

2015-03-09 16:53 435 查看
按照官方文档一步一步来即可。
http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html
注意的是

伪分布式中:

$ bin/hdfs dfs -mkdir /user/<username>
这句话的<username>为你自己的机器名(用户名)

还有一个waring :

Java HotSpot(TM) Server VM warning: You have loaded library /home/xuejiewu/hadoop/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.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
15/03/09 16:47:01 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

查资料说是兼容性的问题(64位 but 32位系统),但是目前没有动也可以用。。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: