I tried to check configured ports from hadoop user as, sudo netstat -p1ten | grep java
But, I am getting result as,
[sudo] password for hadoopz:
hadoopz is not in the sudoers file. This incident will be reported.
How to get sudo permission for hadoop user ??