impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Apple <jbap...@cloudera.com>
Subject Re: Unable to start Hive with testdata.bin/run-all.sh
Date Wed, 26 Oct 2016 17:52:44 GMT
Ah, got it. Sorry for the noise.

On Wed, Oct 26, 2016 at 10:43 AM, Tim Armstrong <tarmstrong@cloudera.com> wrote:
> Sorry about this - I sent out an email earlier titled "Please read if you
> use ./testdata/bin/run-all.sh as part of your workflow" with some
> explanation/steps.
>
> Either you can run ./bin/create-test-configuration.sh then run-all.sh or
> just ./buildall.sh -start_minicluster
>
> On Wed, Oct 26, 2016 at 10:36 AM, Jim Apple <jbapple@cloudera.com> wrote:
>
>> 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.getSQLExcepti
>> on(Unknown
>> Source)
>>         at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLExcepti
>> on(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.wrapArgsForTr
>> ansportAcrossDRDA(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]
>>

Mime
View raw message