- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
伪分布式模式安装hadoop单节点-2.6.0(Pseudo distributed mode installs Hadoop single node -2.6.0)
伪分布式模式安装hadoop单节点-2.6.0(Pseudo distributed mode installs Hadoop single node -2.6.0)
Pseudo distributed mode installation of single node Hadoop -2.6.0
1, information system
[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 2012 x86_64 x86_64 x86_64 GNU/Linux
[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.localdomain localhost6 localhost6.localdomain6: localhost
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, ready to work
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, increase the configuration of the /etc/profile:
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 free password set (in the root directory)
Ssh-keygen -t RSA -P has been and then enter
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
namehadoop.tmp.dir/name
value/hadoop/tmp/value
/property
property
namefs.default.name/name
valu
您可能关注的文档
- 五音治疗音乐(Fifth, music therapy).doc
- 五龙河(Five Dragon River).doc
- 亚伟略码大全(A complete collection of minor codes).doc
- 亚低温治疗(Mild hypothermia therapy).doc
- 亚健康的中医干预措施述评(Review of intervention measures of sub-health in traditional Chinese Medicine).doc
- 亚克力丝网印刷油墨的调配技巧(Blending technique of acrylic screen printing ink).doc
- 亚克力相框、有机相框、水晶相框、电子相框(Acrylic photo frame, organic photo frame, crystal photo frame, electronic photo frame).doc
- 亚洲国家的中秋节习俗(Mid Autumn Festival Customs in Asian countries).doc
- 五领金领→白领→粉领(Five California, white collar, pink collar).doc
- 亚特兰蒂斯攻略(Atlantis Raiders).doc
- 伺服电机编码器调零(Servo motor encoder zeroing).doc
- 伪原创教材(Pseudo original teaching material).doc
- 位移振幅精确测量(Accurate measurement of displacement amplitude).doc
- 位置作文(Position composition).doc
- 住宅区配套公共建筑产权究竟归谁———亿房房产资讯(Residential property rights to support public buildings who - - 100 million real estate information).doc
- 住宅卫浴间的人性化设计(Humanized design of residential bathroom).doc
- 住宅室内装饰建材的污染及防治措施(Pollution of interior decoration building materials and prevention measures).doc
- 住宅建筑电气设计规范jgj 242—2011(Code for electrical design of residential buildings JGJ 242 - 2011).doc
- 住宅电气设计概要(Residential electrical design overview).doc
- 住宅的进深与开间(The depth and width of the house).doc
文档评论(0)