Is it compulsory to have the hadoop user as sudo user?

0 votes

I am installing Hadoop on Ubuntu. I have a new user who has all the privileges to access the HDFS. But when I use sudo with any of the Hadoop command, I get error saying
 

hadoop is not in the sudoers file. This incident will be reported.

Is it important to have sudo user for executing Hadoop commands?

May 8, 2018 in Big Data Hadoop by hack099

recategorized May 8, 2018 by Sudhir 322 views

1 answer to this question.

0 votes

No, it is not important to have a sudo user to execute Hadoop commands. You can execute all your commands from the separate user. You can execute any command for the user, just don’t add sudo before the command. It will work fine. If you face any problem, just add the privileges to the user.

answered May 8, 2018 by Shubham
• 13,300 points

Related Questions In Big Data Hadoop

0 votes
1 answer
+1 vote
1 answer

Is it necessary to use Zookeeper in Hadoop Stack?

ZooKeeper is a centralized service for maintaining ...READ MORE

answered Mar 27, 2018 in Big Data Hadoop by Ashish
• 2,630 points
114 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,690 points
3,021 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
14,916 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
1,107 views
0 votes
1 answer
0 votes
11 answers
0 votes
13 answers

What is the difference between Hadoop/HDFS & HBase?

HDFS is a distributed file system whereas ...READ MORE

answered Apr 26 in Big Data Hadoop by Arihar
• 160 points
9,650 views