Hadoop + MapReduce 端口自定义配置
2013-01-01 00:00
429 查看
查看端口占用:
netstat –apn | grep 8080
netstat –apn | grep 8080
core-site.xml
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- Put site-specific property overrides in this file. --> <configuration> <property> <name>hadoop.tmp.dir</name> <value>/home/xchen_p/tmp</value> </property> <property> <name>fs.default.name</name> <value>hdfs://localhost:9000</value> <!-- Default Port: 9000. The URL to access HDFS --> </property> </configuration>
hdfs-site.xml
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- Put site-specific property overrides in this file. --> <configuration> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>dfs.datanode.address</name> <value>0.0.0.0:50010</value> <!-- Default Port: 50010. --> </property> <property> <name>dfs.datanode.http.address</name> <value>0.0.0.0:50075</value> <!-- Default Port: 50075. --> </property> <property> <name>dfs.datanode.ipc.address</name> <value>0.0.0.0:50020</value> <!-- Default Port: 50020. --> </property> <property> <name>dfs.secondary.http.address</name> <value>0.0.0.0:50090</value> <!-- Default Port: 50090. --> </property> </configuration>
mapred-site.xml
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- Put site-specific property overrides in this file. --> <configuration> <property> <name>mapred.job.tracker</name> <value>localhost:9001</value> <!-- Default Port: 9001. --> </property> <property> <name>mapred.job.tracker.http.address</name> <value>0.0.0.0:50030</value> <!-- Default Port: 50030. --> </property> <property> <name>mapred.task.tracker.http.address</name> <value>0.0.0.0:50060</value> <!-- Default Port: 50060. --> </property> </configuration>
相关文章推荐
- Hadoop + MapReduce 端口自定义配置
- hadoop端口使用配置总结(非常好的总结)
- Hadoop 配置参数摘要和默认端口整理
- hadoop端口使用配置总结(非常好的总结)
- hadoop集群目录和端口配置(详细)
- hadoop常见端口配置
- hadoop端口配置
- hadoop端口配置指南
- 在运行hadoopdb\hive\hadoop源码时不能正确调用自定义core-site.xml等配置文件
- hadoop常用的端口配置
- 如何在 Yii 配置中为 MySQL 设置自定义端口
- webpack配置自定义端口80
- 通过http 协议 可以访问 Hadoop 50070 端口,hadoop 里面配置的servlet 是什么容器呢 ?
- hadoop配置好之后启服务,jps能看到datanode进程,可是后台的datanode日志有如下错误,且50070端口上也是没有活的节点
- HADOOP学习笔记之---3、HADOOP端口和配置文件
- hadoop2.X中各个http端口的配置
- hadoop2.x配置 - 改 hadoop ssh 端口
- PHP_WAMPServer安装+配置(自定义根目录、多站点、端口)
- ASP.NET Core 启动服务端口的自定义配置
- hadoop配置好之后启服务,jps能看到datanode进程,可是后台的datanode日志有如下错误,且50070端口上也是没有活的节点