[hadoop@master ~]$ start-dfs.sh
Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
Starting namenodes on []
Error: Cannot find configuration directory: /etc/hadoop
Error: Cannot find configuration directory: /etc/hadoop
Starting secondary namenodes [0.0.0.0]
Error: Cannot find configuration directory: /etc/hadoop
[hadoop@master ~]$  vi /opt/software/hadoop-2.7.7/etc/hadoop/hadoop-env.sh

   export HADOOP_CONF_DIR=/opt/software/hadoop-2.7.7/etc/hadoop


[hadoop@master ~]$ source /opt/software/hadoop-2.7.7/etc/hadoop/hadoop-env.sh

 

相关文章:

  • 2021-08-09
  • 2021-05-16
  • 2021-07-26
  • 2021-10-05
  • 2022-12-23
  • 2021-04-29
  • 2022-01-15
  • 2021-07-23
猜你喜欢
  • 2022-12-23
  • 2021-06-23
  • 2021-06-27
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2021-10-01
相关资源
相似解决方案