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 2,141 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,490 points

Related Questions In Big Data Hadoop

0 votes
1 answer

I have to ingest in hadoop cluster large number of files for testing , what is the best way to do it?

Hi@sonali, It depends on what kind of testing ...READ MORE

answered Jul 8, 2020 in Big Data Hadoop by MD
• 95,440 points
0 votes
1 answer
+1 vote
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
• 11,380 points
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
–1 vote
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,390 points
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, 2019 in Big Data Hadoop by Arihar
• 160 points
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP