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, 2019 in Big Data Hadoop by anonymous
187 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, 2019 by Gitika
• 25,460 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
• 68,860 points
659 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, 2019 in Big Data Hadoop by Omkar
• 68,860 points
560 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,840 points
3,907 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,840 points
536 views
+1 vote
11 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
20,779 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,290 points
1,471 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, 2019 in Big Data Hadoop by Gitika
• 25,460 points
337 views