When using the 'netstat' Linux command to verify that my Hadoop Namenode machine was functioning correctly, I noticed that the Namenode's primary port, '8020' did not show up as actively listening though all Hadoop processes could properly connect and work properly. Moreover, I was able to run 'telnet mydnshostname 8020' and successfully open a connection, indicating this socket was correctly listening despite its conspicuous absence from netstat's list.
This is the first time I've noticed an open socket not appearing in netstat's list. Is it because Hadoop Namenode communication is based on a proprietary IPC protocol? This protocol seems to be TCP-based, so I don't understand why it's not showing up.
In summary:
- Why/how are there open sockets that netstat misses?
- Any lower-level Linux commands/functions to show all sockets, including ones that netstat misses for ones reason or another?