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
219 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
• 26,390 points

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
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,000 points
58 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,000 points
85 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,000 points
201 views
0 votes
1 answer

Sqoop transfer file from MySql to HBase

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

answered Feb 11, 2019 in Big Data Hadoop by Omkar
• 69,000 points
443 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
• 26,390 points
203 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 113 views