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 in Big Data Hadoop by Nashima
23 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 by Gitika
• 25,340 points

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
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 in Big Data Hadoop by Omkar
• 67,480 points
27 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
• 67,480 points
43 views
0 votes
1 answer

Update new sql data in sqoop

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

answered Feb 11 in Big Data Hadoop by Omkar
• 67,480 points
59 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 in Big Data Hadoop by Omkar
• 67,480 points
108 views
0 votes
1 answer

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

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

answered Apr 15 in Big Data Hadoop by Gitika
• 25,340 points
53 views
0 votes
2 answers