spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajesh Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-12748) Failed to create HiveContext in SparkSql
Date Fri, 15 Jan 2016 08:57:39 GMT

    [ https://issues.apache.org/jira/browse/SPARK-12748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101495#comment-15101495
] 

Ajesh Kumar commented on SPARK-12748:
-------------------------------------

Derby is the default database used for storing hive metastore. You cannot have more than one
hive client process
getting connected to the metastore at a time. You can solve this by configuring remote metastore.
For more details please refer the link below.
https://cwiki.apache.org/confluence/display/Hive/AdminManual+MetastoreAdmin

> Failed to create HiveContext in SparkSql
> ----------------------------------------
>
>                 Key: SPARK-12748
>                 URL: https://issues.apache.org/jira/browse/SPARK-12748
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 1.6.0
>            Reporter: Ujjal Satpathy
>            Priority: Critical
>
> Hi,
> I am trying to create HiveContext using Java API in Spark Sql (ver 1.6.0).
> HiveContext hiveContext = new org.apache.spark.sql.hive.HiveContext(sc);
> But its not creating any hivecontext and throwing below exception:
> java.sql.SQLException: Failed to start database 'metastore_db' with class loader org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1@17a1ba8d.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message