I am running hadoop and spark in a single machine (Ubuntu 14.04). JPS command gives me below output
hduser@ubuntu:~$ jps
4370 HRegionServer
6568 Jps
5555 Run
That's a good answer to yourself ! :)
3079 is the pid ( process id ) of namenode. See more details about jps's output here: Jps doc. BTW, you can verify the listening ports of namenode using the pid with a command such as:
lsof -p 3079 -a -i
In your command output:
java 3079 hduser 89u IPv4 59998 0t0 TCP localhost:54310->localhost:46507 (ESTABLISHED)
That line indicates that other process established TCP connection with Namenode at port 46507. Possible processes could be resoure manager(RM) or data nodes etc.