首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Hadoop 单机调度

2012-07-08 
Hadoop 单机部署1.下载hadoop [url]wget http://mirror.bjtu.edu.cn/apache/hadoop/common/hadoop-0.20.2/

Hadoop 单机部署
1.下载hadoop [url]wget http://mirror.bjtu.edu.cn/apache/hadoop/common/hadoop-0.20.2/hadoop-0.20.2.tar.gz[/url]
2.配置core-site.xml


3.配置marpred-site.xml

4.修改hadoop-env.xml 增加JAVA_HOME配置
[root@vm-platform-dev-138115 hadoop-0.20.2]# bin/hadoop fs -ls /Found 1 itemsdrwxr-xr-x   - root supergroup          0 2012-05-22 08:50 /tmp[root@vm-platform-dev-138115 hadoop-0.20.2]# bin/hadoop fs -mkdir /user/hadoop/test[root@vm-platform-dev-138115 hadoop-0.20.2]# bin/hadoop fs -chmod g+w /tmp[root@vm-platform-dev-138115 hadoop-0.20.2]# bin/hadoop fs -chmod g+w /user/hadoop/test[root@vm-platform-dev-138115 hadoop-0.20.2]# bin/hadoop fs -lsr /drwxrwxr-x   - root supergroup          0 2012-05-22 08:50 /tmpdrwxr-xr-x   - root supergroup          0 2012-05-22 08:50 /tmp/hadoop-rootdrwxr-xr-x   - root supergroup          0 2012-05-22 08:50 /tmp/hadoop-root/mapreddrwx-wx-wx   - root supergroup          0 2012-05-22 08:50 /tmp/hadoop-root/mapred/system-rw-------   3 root supergroup          4 2012-05-22 08:50 /tmp/hadoop-root/mapred/system/jobtracker.infodrwxr-xr-x   - root supergroup          0 2012-05-22 08:52 /userdrwxr-xr-x   - root supergroup          0 2012-05-22 08:52 /user/hadoopdrwxrwxr-x   - root supergroup          0 2012-05-22 08:52 /user/hadoop/test

热点排行