GitHub user KaiXinXiaoLei opened a pull request:
https://github.com/apache/spark/pull/8947
[SPARK-9776]Another instance of Derby may have already booted the database
In security cluster, and using yarn-client mode, I just run
"bin/spark-shell --master yarn-client".And the error exists:
Caused by: java.sql.SQLException: Failed to start database 'metastore_db'
with class loader
org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1@5339cdc6, see the
next exception for details.
at
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at
org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
... 131 more
Caused by: java.sql.SQLException: Another instance of Derby may have
already booted the database /opt/FIclient/Spark/spark/metastore_db.
at
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at
org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
at
org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)
... 128 more
Caused by: ERROR XSDB6: Another instance of Derby may have already booted
the database /opt/FIclient/Spark/spark/metastore_db.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/KaiXinXiaoLei/spark deleteToken
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8947.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #8947
----
commit 167bcf9376dad05c721ef7b98964836bc7ae15b2
Author: KaiXinXiaoLei <[email protected]>
Date: 2015-09-30T09:36:52Z
delete token
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]