hadoop 启动or运行mr错误
hadoop 错误:Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
hadoop 错误:java.lang.IllegalArgumentException: Does not contain a valid host:port authority: tc_70_118:43624
1.etc/hadoop/core-site.xml中增加如下配置
<property>
<name>fs.default.name</name>
<value>hdfs://127.0.0.1:9000</value>
</property>
2.如果还没有解决,也许是hostname搞的鬼,首先保证引用hostname的地方都是正确的,还有最重要的,hostname不要有"_"下划线