You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:37:34 UTC

[jira] [Resolved] (SPARK-15546) HiveContext : Connecting to MySQL metastore db - Always creates a DERBY database in first attempt

     [ https://issues.apache.org/jira/browse/SPARK-15546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-15546.
----------------------------------
    Resolution: Incomplete

> HiveContext : Connecting to MySQL metastore db - Always creates a DERBY database in first attempt 
> --------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-15546
>                 URL: https://issues.apache.org/jira/browse/SPARK-15546
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.6.1
>         Environment: Java
>            Reporter: Jais Sebastian
>            Priority: Minor
>              Labels: bulk-closed
>         Attachments: hive-site.xml, log.txt
>
>
> If we configure HiveContext to use MySQL as the metastore db, it always creates a DERBY database and later only detecting the hive-site.xml in the class path to point to MySQL DB.
> If you analyze the log we can see that it connects to the DERBY database first time and then connects to the MySQL. 
> To configure MySQL as the metastore , hive-site.xml is provided in the class path.
> Attached the sample hive-site.xml and the log files your refernece. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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