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
18 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 7,580 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
• 65,850 points
175 views
0 votes
1 answer
0 votes
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
• 65,850 points
134 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
• 9,030 points
1,654 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
• 9,030 points
130 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
8,016 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
560 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
• 7,580 points
32 views
0 votes
2 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.