执行任务时报以下错:

Safe mode is ON in r2n03/192.168.0.43:8020
ERROR to execute safemode cmd: get on r1n08/192.168.0.38:8020 , Exception = java.net.ConnectException: Call From r2n03/192.168.0.43 to r1n08:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
2020-03-30 20:32:30,165 INFO util.KerberosUtil: Using principal pattern: HTTP/_HOST
2020-03-30 20:32:31,541 INFO util.KerberosUtil: Using principal pattern: HTTP/_HOST
Save namespace successful for r2n03/192.168.0.43:8020
saveNamespace: Call From r2n03/192.168.0.43 to r1n08:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

手动退出安全模式:

su -s /bin/bash hdfs -c "
export HADOOP_CLIENT_OPTS='-Dtranswarp.maintenance.only.mode=true';
hdfs dfsadmin -safemode leave "

相关文章:

  • 2021-09-25
  • 2021-11-18
  • 2021-07-22
  • 2022-12-23
  • 2021-11-05
  • 2021-06-19
  • 2021-12-01
猜你喜欢
  • 2021-12-23
  • 2021-08-30
  • 2022-01-19
  • 2021-07-10
  • 2021-11-07
相关资源
相似解决方案