分布式-ubuntu12.04上安装hadoop1.2.1
来源:互联网 发布:深圳冰川网络怎么样 编辑:程序博客网 时间:2024/05/15 01:36
在hadoop1.2.1的安装说明中有说明要预先安装java,我安装了好多版本的java以及好多版本的hadoop,然后发现oracle-java7与hadoop1.2.1是可以匹配的。
一,安装具体步骤如下:
1. 安装java: sudo apt-get install oracle-java7-installer
2. 安装hadoop1.2.1: http://hadoop.apache.org/docs/r1.2.1/single_node_setup.html#Download
二,测试是否安装成功(伪分布式模式):
Format a new distributed-filesystem:
$ bin/hadoop namenode -format
Start the hadoop daemons:
$ bin/start-all.sh
The hadoop daemon log output is written to the ${HADOOP_LOG_DIR} directory (defaults to ${HADOOP_HOME}/logs).
Browse the web interface for the NameNode and the JobTracker; by default they are available at:
NameNode - http://localhost:50070/
JobTracker - http://localhost:50030/
Copy the input files into the distributed filesystem:
$ bin/hadoop fs -put conf input
Run some of the examples provided:
$ bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+'
Examine the output files:
Copy the output files from the distributed filesystem to the local filesytem and examine them:
$ bin/hadoop fs -get output output
$ cat output/*
When you're done, stop the daemons with:
$ bin/stop-all.sh
三,web UI
1. NameNode:http://localhost:50070/
2. JobTracker :http://localhost:50030/
- 分布式-ubuntu12.04上安装hadoop1.2.1
- Ubuntu12.04安装伪分布式hadoop1.1.2
- ubuntu12.04安装Hadoop1.2.1
- ubuntu12.10 安装hadoop1.0.4伪分布式
- Ubuntu12.04安装hadoop1.0.4
- 分布式-在ubuntu12.04上安装mpi
- hadoop1.2.1伪分布式安装
- hadoop1.2.1伪分布式安装
- hadoop1.2.1伪分布式安装
- win7上搭建hadoop1.2.1伪分布式
- Install Hadoop1.2.1 in Ubuntu12.04
- Hadoop1.2.1+Hbase0.94.14完全分布式安装
- centos7安装hadoop1.2.1分布式集群
- Hadoop1完全分布式安装
- Hadoop1.1.2分布式安装
- 分布式-ubuntu12.04上安装spark-1.0.0
- 分布式-ubuntu12.04上安装zookeeper-3.4.6
- hadoop1.2.1集群安装(虚拟机和主机ubuntu12.04构成)----连接eclipse
- 强大的JavaScrip、Html学习工具和范例网站
- NPOI导出Excel功能
- 雾山的Robotium学习笔记---scroll .
- 离岸iPhone应用程序开发提供廉价但最佳应用
- SuSE11 防火墙 & vncviewer使用
- 分布式-ubuntu12.04上安装hadoop1.2.1
- Android获取arrays.xml里的数组字段值
- XSSF设定单元格自定义颜色
- 如何让tomcat告别频繁重启
- hdu 4561 小游戏
- Q6.5
- Eclipse中设置在创建新类时自动生成注释
- Kvm Qemu Libvirt
- 利用Squid代理实现WEB测试修改hosts