Error: schemaTool failed

0 votes

Hi,

I am learning hive and after installation, at the time of installing derby database it gave me this error. Can anyone help me, how to come out of this and solution to this?

May 13 in Big Data Hadoop by anonymous
111 views

1 answer to this question.

0 votes

Hey,

The error you got because you might have installed derby database and tried run that statement again. So you do one thing, inside your hive directory you will get a directory that is metastore_db. Remove it with the help of  this command:

rm -rf metastore_db/

And again try to reinstall derby database with the command:

schematool -initSchema -dbType derby

I hope it will help and the error will go.

answered May 13 by Gitika
• 25,340 points

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer

Apache Spark gives "Failed to load native-hadoop with error"

Seems like hadoop path is missing in java.library.path. ...READ MORE

answered Nov 22, 2018 in Big Data Hadoop by Omkar
• 67,660 points
525 views
0 votes
1 answer
–1 vote
1 answer

Pig command error: Failed to parse: Pig script failed to parse

There's a typo in your command: Right command: custdata ...READ MORE

answered Jan 7 in Big Data Hadoop by Omkar
• 67,660 points
404 views
0 votes
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,710 points
3,294 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,710 points
389 views
0 votes
10 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,206 views
0 votes
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,260 points
1,182 views
0 votes
1 answer

error:- /zookeeper_server.pid: Permission denied FAILED TO WRITE PID

Hey, The default zookeeper installation (tar extract) comes ...READ MORE

answered May 27 in Big Data Hadoop by Gitika
• 25,340 points
211 views