๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ’ปTech/๐Ÿ˜hadoop

[SOLVED] datanode denied communication with namenode because hostname cannot be resolved

by _viper_ 2023. 9. 27.
๋ฐ˜์‘ํ˜•

๐Ÿšซ ERROR

datanode denied communication with namenode because hostname cannot be resolved

 

๐Ÿ’ก SOLVED

  • DNS ์„ค์ •์œผ๋กœ ๋ณ„๋„๋กœ /etc/hosts ์ž‘์—…์„ ์•ˆํ–ˆ๊ณ , ํ™•์ธํ•ด๋ณด๋‹ˆ ์—ญ๋ฐฉํ–ฅ DNS ๋“ฑ๋ก์ด ์•ˆ๋ผ์„œ ๋ฐœ์ƒํ•œ ๋ฌธ์ œ
  • /etc/hosts์— FQDN ๋“ฑ๋ก ์ž‘์—…์œผ๋กœ ๋ฐ”๋กœ ๋ฌธ์ œ ํ•ด๊ฒฐ