Hive: org.apache.hadoop.security.AccessControlException Permission denied: user

0 votes

Getting security error upon creating a table

hive> create table trxnrecords(txnno INT, txndate STRING, custno INT, amount DOUBLE, category STRING, product STRING, city STRING, state STRING, spendby STRING)
> row format delimited
> fields terminated by ",";
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=edureka_574496, access=WRITE, inode
="/user/hive/warehouse/retail.db":edureka_1009:hive:drwxrwxr-t
Aug 1, 2019 in Big Data Hadoop by Ritu
1,078 views

1 answer to this question.

0 votes
This error is generally thrown when the table name you have mentioned is already present. So, to rectify the error, either try changing the table name or else first create a database and then create this table in it.
answered Aug 1, 2019 by Waniku

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer

Unable to instantiate org.apache.hadoop.hive

You might not have set the connector. ...READ MORE

answered Jan 25, 2019 in Big Data Hadoop by Omkar
• 69,030 points
303 views
0 votes
1 answer

FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

Hi@akhtar, This issue generally occurs when the memory ...READ MORE

answered Apr 17 in Big Data Hadoop by MD
• 53,620 points
3,402 views
+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,950 points
5,794 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
867 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
36,449 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,320 points
2,173 views
0 votes
1 answer
0 votes
1 answer

Hadoop Hive: ClassNotFoundException: org.apache.hive.jdbc.HiveDriver

You have to use the right dependency <dependency> ...READ MORE

answered Dec 11, 2018 in Big Data Hadoop by Omkar
• 69,030 points
1,915 views