伪分布式模式安装hadoop单节点-2.6.0(Pseudo distributed mode installation of single node Hadoop -2.6.0).doc
- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
伪分布式模式安装hadoop单节点-2.6.0(Pseudo distributed mode installation of single node Hadoop -2.6.0)
伪分布式模式安装hadoop单节点-2.6.0(Pseudo distributed mode installation of single node Hadoop -2.6.0)
Pseudo distributed mode installs Hadoop single node -2.6.0
1, system information
[root@lsn-linux cat /etc/issue ~]#
CentOS release 6.3 (Final)
Kernel, \r, on, an, \m
[root@lsn-linux uname -a ~]#
Linux, lsn-linux, 2.6.32-279.el6.x86_64, #1, SMP, Fri, Jun, 22, 12:19:21, UTC,, x86_64, GNU/Linux, x86_64, x86_64
[root@lsn hadoop-2.6.0]# hostname
Lsn-linux
[root@lsn-linux cat /etc/hosts ~]#
127.0.0.1, localhost, localhost.localdomain, localhost4, localhost4.localdomain4
:: 1, localhost, localhost.localdomain, localhost6, localhost6.localdomain6
192.168.160.3 lsn-linux
[root@lsn-linux ll /lib64/libc.so.6 ~]#
Lrwxrwxrwx. 1 root root 12 Nov 11 22:35 /lib64/libc.so.6 - libc-2.12.so
2. Preparation
2.1, jdk7.0
[root@lsn, hadoop-2.6.0]#, yum, remove, Java
[root@lsn rpm -ivh jdk-7u21-linux-x64.rpm ~]#
Preparing [100%] ###########################################...
1:jdk [100%] ###########################################
Unpacking JAR files...
Rt.jar...
Jsse.jar...
Charsets.jar...
Tools.jar...
Localedata.jar...
[root@lsn Java -version ~]#
Java version 1.7.0_21
Java (TM), SE, Runtime, Environment (build, 1.7.0_21-b11)
Java, HotSpot (TM), 64-Bit, Server, VM (build, 23.21-b01, mixed, mode)
2.2, /etc/profile configuration, increase:
Export JAVA_HOME=/usr/java/jdk1.7.0_21
Export HADOOP_PREFIX=/hadoop/hadoop-2.6.0
Export CLASSPATH= : $JAVA_HOME/lib:$CLASSPATH
Export PATH= $JAVA_HOME/bin:$PATH:$HADOOP_PREFIX/bin:$PATH
Export HADOOP_PREFIX PATH CLASSPATH
2.3, SSH password free login settings (completed in the root directory)
Ssh-keygen -t, RSA, -P, and then go back to the car
Cat /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys
2.4,
Tar zxf hadoop-2.6.0.tar.gz
file location
/hadoop/hadoop-2.6.0
3, configuration
/hadoop/hadoop-2.6.0/etc/hadoop
3.1, VI hadoop-env.sh
increase
Export JAVA_HOME=/usr/java/jdk1.7.0_21
3.2, VI core-site.xml
configuration
property
Hadoop.tmp.dir name / name
value / Ha
您可能关注的文档
- 中建史试题(In the construction of history examination questions).doc
- 中文停用词表(比较全面,有1208个停用词)(Chinese stoplist (more comprehensive, 1208 stop words)).doc
- 中桩坐标(Pile coordinates).doc
- 中波台电击防护(Medium wave station protection against electric shock).doc
- 中石北京 工程概预算与招投标 第二阶段在线作业(In Beijing stone engineering budget and bidding stage second online homework).doc
- 中石北京 试油与试采 第一阶段在线作业(In the first stage of Beijing stone test oil and test online homework).doc
- 中式面包造型与制作要求(Requirements of design and production of Chinese bread).doc
- 中石北京 安全检测与监测 第一阶段在线作业(In the first stage of Beijing stone security detection and monitoring of online homework).doc
- 中石北京 混凝土 第二阶段在线作业(In the second stage of Beijing stone concrete online homework).doc
- 中石北京 物理化学 第二阶段在线作业(In the second stage of Beijing stone physical chemistry online homework).doc
文档评论(0)