Christian Fries created ZEPPELIN-2509:
-----------------------------------------
Summary: Zeppelin Spark Interpreter fails on Windows if
zeppelin.spark.useHiveContext=true
Key: ZEPPELIN-2509
URL: https://issues.apache.org/jira/browse/ZEPPELIN-2509
Project: Zeppelin
Issue Type: Bug
Components: Interpreters
Affects Versions: 0.7.1, 0.8.0
Environment: Windows 10, Windows 7
Reporter: Christian Fries
On Windows, if zeppelin.spark.useHiveContext=true in the Spark interpreter's
settings, the interpreter will fail.
The error message displaced in Zeppelin is an InvocationTargetException (as
always), which is quite unhelpful. A look at the log / console output reveals
multiple exceptions
{code}
java.sql.SQLException: Failed to start database 'metastore_db' with class
loader org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1@58611960,
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)
{code}
or
{code}
Caused by: java.sql.SQLException: Another instance of Derby may have already
booted the database Z:\Documents\zeppelin-0.8.0-SNAPSHOT\bin\metastore_db.
{code}
etc.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)