hadoop启动错误:Path /XXX should be specified as a URI in configuration file

来源:互联网 发布:软件市场营销方案 编辑:程序博客网 时间:2024/06/04 23:27

hadoop启动出现问题:

2016-08-31 10:14:59,151 WARN org.apache.hadoop.hdfs.server.common.Util: Path /home/gsunis/hadoopData/hdfs/name should be specified as a URI in configuration files. Please update hdfs configuration.
2016-08-31 10:14:59,152 WARN org.apache.hadoop.hdfs.server.common.Util: Path /home/gsunis/hadoopData/hdfs/name should be specified as a URI in configuration files. Please update hdfs configuration.

解决方案:

问题定位:hdfs-site.xml

问题原因:

1)   不合规范的URI格式

解决办法:

2)   dfs.namenode.name.dirdfs.datanode.data.dir的原路径格式如/usr/mywind/name改成file:/usr/mywind/name,即使用完全路径。

0 0