You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nathan M (JIRA)" <ji...@apache.org> on 2014/11/19 07:19:33 UTC
[jira] [Commented] (SPARK-2397) Get rid of LocalHiveContext
[ https://issues.apache.org/jira/browse/SPARK-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217494#comment-14217494 ]
Nathan M commented on SPARK-2397:
---------------------------------
Just curious why this has been Deprecated. It was rather useful for testing purposes when you run to run an "embedded" hive instance. And not supply a hive site. Would you now advise for tests that a Hive context be created but we go the extra step and manually set the conf like `LocalHiveContext` did?
I.e. something like
`setConf("javax.jdo.option.ConnectionURL", s"jdbc:derby:;databaseName=$metastorePath;create=true") ``setConf("hive.metastore.warehouse.dir", warehousePath)`
Or am I doing something stupid?
> Get rid of LocalHiveContext
> ---------------------------
>
> Key: SPARK-2397
> URL: https://issues.apache.org/jira/browse/SPARK-2397
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Michael Armbrust
> Assignee: Michael Armbrust
> Priority: Blocker
> Fix For: 1.1.0
>
>
> HiveLocalContext is nearly completely redundant with HiveContext. We should consider deprecating it and removing all uses.
--
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