分布式-ubuntu12.04上安装hadoop1.2.1

在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,布布扣,bubuko.com

时间: 2024-08-28 10:44:49

分布式-ubuntu12.04上安装hadoop1.2.1的相关文章

Ubuntu12.04上安装、配置PostgreSQL9.1

1.安装PostgreSQL 执行命令:apt-get update 获取最新的服务器,否则之后安装会出现404 执行命令: apt-get install postgresql   获取安装包 输入Y自动安装 安装成功后,默认会创建名为postgres的数据库.名为postgres的Linux系统用户和名为postgres的数据库用户. 2.修改数据库默认用户postgres的密码,以便可以使用客户端软件(pgAdmin III等)远程登录数据库 1)登录数据库 方式一: 方式二: 2)退出数

在Ubuntu12.04上安装KDE-ubuntu和GNOME3

一.安装GNOME3 sudo apt-get install gnome-shell gnome-tweak-tool gnome-tweak-tool 是一个窗口管理工具,可以在 Activities(活动) - Applications(应用) 里查找 Advanced Settings 来打开. 二.安装KDE sudo add-apt-repository ppa:kubuntu-ppa/backports sudo apt-get update sudo apt-get instal

ubuntu-12.04.5-desktop-amd64 安装和基本配置

ubuntu-12.04.5-desktop-amd64安装和基本配置 1.选择中文(简体),安装ubuntu: 2.下面两个勾打上,点击继续: 3.清除整个磁盘,点击继续: 4.点击现在安装: 5.系统自动复制文件: 6.选择时区,哈尔滨就行: 7.选择语言,汉语: 8.设置用户和密码: 9.复制文件: 10.联网边下载边安装: 11.重启: 重启界面: 12.重启之后的系统: 13.修改屏幕分辨率: 具体操作看这篇博文: http://blog.csdn.net/baolibin528/ar

Ubuntu12.04 Version 安装二三事

Ubuntu12.04 Version 安装二三事 安装输入法 因为是全英的系统,所以,中文输入法是一定要装的!!! 介绍一:(和我电脑配置很像,from http://vb2005xu.iteye.com/blog/1748575) Ubuntu上的输入法主要有小小输入平台(支持拼音/二笔/五笔等),Fcitx,Ibus,Scim等.其中Scim和Ibus是输入法框架. 在Ubuntu的中文系统中自带了中文输入法,通过Ctrl+Space可切换中英文输入法.这里我们主要说下Ubuntu英文系统

ubuntu12.04上搭建darwin streaming server6.03

个人建议:使用DarwinStreamingSrvr5.5.5,因为DarwinStreamingSrvr6.0.3安装过程中有很多问题需要解决!而且安装只需执行./Install就可以! 1:下载darwin源代码DarwinStreamingSrvr6.0.3-Source.tar,补丁patch dss-6.0.3.patch $wget http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar $wge

Ubuntu12.04下安装Subversion并进行配置

Ubuntu下安装Subversion还是很简单的,只要输入sudo apt-get install Subversion就可以安装了. 主要的难点在于对权限的配置上. 安装完subversion后,就可以创建一个仓库了. 这里我以个人的例子来讲解,大家可以按照自己的需要选择不同的目录. 我是建在了/var/svn下,以这个作为仓库目录. 创建一个项目svnadmin create project 这是在/var/svn下就可以看到project这个目录了,在这个目录下可以看到一个conf目录,

分布式-在win7上安装linux操作系统

由于大多数的分布式计算框架,分布式存储系统,分布式平台都支持在unix类似的环境下,所以要做分布式的实验和学习的话,还是推荐装个linux系统,我这里安装的是ubuntu,因为之前装过这个. 一.下载 1. EasyBCD2.2 2. ubuntu 12.04 LTS amd64 desktop 二.安装 1. 安装ubuntu LTS 12.04: http://www.33lc.com/article/4013.html 2. 更新下载源: http://jingyan.baidu.com/

在ubuntu12.04中安装wine和source insight

1.安装wine sudo apt-get install wine 2.安装source insight 将source insight安装的可执行文件复制到ubuntu中.我复制到了~/Desktop/下面. 运行命令 wine ~/Desktop/Si35Setup.exe 其中Si35Setup.exe为source insight安装包名字.安装过程与windows相同. 3.建立工程 搜wine启动Configure Wine 添加一个路径,这样source insight建工程的时

ubuntu12.04 apt-get安装 lnmp环境(转)

1.安装mysql [sql] view plaincopy sudo apt-get install mysql-server mysql-client 安装过程中要输入root用户的密码. 我在安装中出错,是原来的mysql-cilent mysql-workbench 未完全卸载,将mysql组件完全卸载的方法: 删除mysql前 先删除一下 /var/lib/mysql 还有 /etc/mysql [sql] view plaincopy sudo rm /var/lib/mysql/