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 653 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,380 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 7 in Big Data Hadoop by MD
• 40,740 points
94 views
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
• 10,920 points
5,441 views
+1 vote
11 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
33,656 views
–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,310 points
2,051 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, 2019 in Big Data Hadoop by Arihar
• 160 points
18,608 views