(原创)hadoop 分布式开发环境搭建
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了(原创)hadoop 分布式开发环境搭建,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含3526字,纯文字阅读大概需要6分钟。
内容图文
export JAVA_HOME=/data/soft/jdk/jdk1.7.0_71
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
* hard nofile 65536
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.183.130 tank1
192.168.183.131 tank2
192.168.183.132 tank3
192.168.183.133 tank4
export HADOOP_HOME=/data/hadoop/hadoop-2.2.0
export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="configuration.xsl"?><!-- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. See accompanying LICENSE file. --><!-- Put site-specific property overrides in this file. --><configuration><property><name>hadoop.tmp.dir</name><value>/usr/hadoop/tmp</value><description>(备注:请先在 /usr/hadoop 目录下建立 tmp 文件夹)A base for other temporary directories.</description></property><property><name>fs.default.name</name><value>hdfs://192.168.149.128:9000</value></property></configuration>
<configuration><property><name>dfs.replication</name><value>1</value></property><property><name>dfs.namenode.name.dir</name><value>file:/data/soft/hadoop/hadoop-2.2.0/hdfs/name</value><final>true</final></property><property><name>dfs.datanode.data.dir</name><value>file:/data/soft/hadoop/hadoop-2.2.0/hdfs/data</value></property></configuration>
<configuration><property><name>mapred.job.tracker</name><value>192.168.149.128:9001</value></property></configuration>
192.168.183.130
192.168.183.131
192.168.183.132
192.168.183.133
2751 ResourceManager
2628 SecondaryNameNode
2469 NameNode
1745 NodeManager
1658 DataNode
原文:http://www.cnblogs.com/tankaixiong/p/4182560.html
内容总结
以上是互联网集市为您收集整理的(原创)hadoop 分布式开发环境搭建全部内容,希望文章能够帮你解决(原创)hadoop 分布式开发环境搭建所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。