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
3,774 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
• 65,890 points
thank you its works

Hi, @There,

Thank you for your contribution. Glad that the solution helped you do upvote the answer once you find it valuable and do register with the Edureka community. 

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
• 69,230 points
2,631 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
• 69,230 points
4,027 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
• 11,380 points
10,912 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
• 11,380 points
2,446 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,247 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,390 points
4,537 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
• 65,890 points
5,718 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP