Error ERROR security UserGroupInformation PriviledgedActionException as root auth SIMPLE

0 votes

While I was using SQOOP: MySQL to HIVE:

/sqoop-1.4.4# bin/sqoop import --connect jdbc:mysql://localhost:3306/hadoop --table csurvey --target-dir /sqoop-hive --hive-import --split-by pname --hive-table csurveysu -username root -P 

While working with the command I got the error above. Can anyone tell how can I solve it?

Aug 7, 2019 in Big Data Hadoop by Nashima
1,680 views

1 answer to this question.

0 votes

Hey,

For me, my Hadoop NameNode was in safe mode. That is a read-only mode for the HDFS cluster. It can't Write, until enough datanode up for replication After started up enough datanode still my NameNode in safe mode, just manually OFF safe mode by

root@localhost:/opt/hadoop-2.2.0# bin/hadoop dfsadmin -safemode leave

Just check the inconsistency of HDFS cluster by

[bin]#root@localhost:/opt/hadoop-2.2.0# bin/hadoop fsck /
answered Aug 7, 2019 by Gitika
• 65,770 points

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Sqoop import gives error: org.apache.hadoop.security.AccessControlException: Permission denied

Seems like you are not passing the ...READ MORE

answered Dec 17, 2018 in Big Data Hadoop by Omkar
• 69,220 points
2,070 views
0 votes
1 answer

Update hdfs data before stroring in MySql

Yes, you can update the data before ...READ MORE

answered Jan 27, 2019 in Big Data Hadoop by Omkar
• 69,220 points
770 views
0 votes
1 answer

Not able to start MySql service

Hello. "The system never lies :-P".  The service ...READ MORE

answered Dec 26, 2018 in Big Data Hadoop by Omkar
• 69,220 points
1,204 views
0 votes
1 answer

Update new sql data in sqoop

You can use incremental for this. When ...READ MORE

answered Feb 11, 2019 in Big Data Hadoop by Omkar
• 69,220 points
1,620 views
0 votes
1 answer

Sqoop transfer file from MySql to HBase

Sqoop doesn’t permit you to import, all ...READ MORE

answered Feb 12, 2019 in Big Data Hadoop by Omkar
• 69,220 points
3,412 views
0 votes
1 answer

error: Access denied for user 'sample'@'localhost'.

This kind of error occurs when we ...READ MORE

answered Apr 15, 2019 in Big Data Hadoop by Gitika
• 65,770 points
1,913 views
0 votes
2 answers

Error:- cannot locate pig-core-hr. jar. do ‘ant -Dhadoopversion=23 jar’

Even I got the same error, I ...READ MORE

answered Apr 26, 2019 in Big Data Hadoop by disha

edited Apr 29, 2019 by Gitika 1,764 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP