-
-
Save justinuang/0403d49cdeedf91727cd to your computer and use it in GitHub Desktop.
Spark 1.4.0: HiveContext derby exception
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Caused by: java.sql.SQLException: Failed to start database 'metastore_db' with class loader org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1@5dea2446, 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) | |
... 129 more | |
Caused by: java.sql.SQLException: Another instance of Derby may have already booted the database <redacted>/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) | |
... 126 more | |
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database <redacted>/metastore_db. | |
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) | |
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.privGetJBMSLockOnDB(Unknown Source) | |
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.run(Unknown Source) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.getJBMSLockOnDB(Unknown Source) | |
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.boot(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source) | |
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source) | |
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source) | |
at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source) | |
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source) | |
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source) | |
at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source) | |
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source) | |
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source) | |
at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source) | |
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source) | |
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source) | |
at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source) | |
at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment