关于hadoop的配置文件引起的input/output error
这个问题是关于配置文件没有配好,在路径 /usr/local/hadoop/etc/hadoop中有两个配置文件,hdfs-site.xml和core-site.xml,配置成如下图(图一为hdfs,图二为core)
关于hadoop的配置文件引起的input/output error

关于hadoop的配置文件引起的input/output error
然后进入usr/local/hadoop/bin目录,进行格式化,格式化语句为./hdfs namenode -format(这是第一次使用的时候这么用,后面用hdfs fds xxxx),
出现status 0才行,如下图
关于hadoop的配置文件引起的input/output error
接下来就很顺利了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2021-11-03
猜你喜欢
  • 2022-01-14
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-06-22
  • 2022-12-23
相关资源
相似解决方案