impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Knupp <dkn...@cloudera.com>
Subject Re: Unable to start Hive with testdata.bin/run-all.sh
Date Wed, 26 Oct 2016 17:44:38 GMT
It looks maybe like this bug (judging by the references to derby): 
https://issues.cloudera.org/browse/IMPALA-4299
> Jim Apple <mailto:jbapple@cloudera.com>
> October 26, 2016 at 10:36 AM
> I am seeing the error below when trying to get my development
> environment up and running. Has anyone else seen and worked around
> this before?
>
> 2016-10-26 10:27:16,719 ERROR Datastore.Schema
> (Log4JLogger.java:error(125)) - Failed initialising database.
> Unable to open a test connection to the given database. JDBC url =
> jdbc:derby:;databaseName=metastore_db;create=true, username = APP.
> Terminating connection pool (set lazyInit to true if you expect to
> start your database after your app). Original Exception: ------
> java.sql.SQLException: Failed to start database 'metastore_db' with
> class loader sun.misc.Launcher$AppClassLoader@3ad6a0e0, see the next
> exception for details.
> at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
> Source)
> at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
> Source)
> at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown
> Source)
> at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
> [MANY MORE LINES]
> at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> Caused by: ERROR XJ040: Failed to start database 'metastore_db' with
> class loader sun.misc.Launcher$AppClassLoader@3ad6a0e0, see the next
> exception for details.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown
> Source)
> ... 84 more
> Caused by: ERROR XSDB6: Another instance of Derby may have already
> booted the database /home/jbapple/Impala/metastore_db.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> [MANY MORE LINES]

-- 
David Knupp
Software Engineer
Cloudera
415-312-1049
<https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message