1

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 ??

A J
  • 11,367
  • 17
  • 44
  • 59

1 Answers1

2

You have to add the user hadoopz to the sudoers list.

sudo adduser hadoopz sudo

Logout and login back to take effect.

Reference

Avinash Raj
  • 78,556