-1

I built a single hadoop,when I tried ./start-dfs.sh enter image description here namenode didn't work

logs↓ enter image description here

I have tried to delete tmp and initialize nanenode format hdfs namenode -format, but it also didn't work

50070 the port for namenode is free when i check enter image description here

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
eacin
  • 1

1 Answers1

0

The error is saying the bind address you've provided in the XML files is not valid.

Start with 0.0.0.0, rather than 123.56.x.y

If you need to restrict external access to the service, then use OS firewall settings, rather than Hadoop configs

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
  • 1
    I think I confused private address with public address. I changed ip to my private address now and it worked. however thank you for your answer!! – eacin Mar 27 '23 at 03:28