You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by nightwolfzor <gi...@git.apache.org> on 2014/11/19 07:18:25 UTC

[GitHub] spark pull request: [SPARK-2397][SQL] Deprecate LocalHiveContext

Github user nightwolfzor commented on the pull request:

    https://github.com/apache/spark/pull/1641#issuecomment-63597374
  
    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?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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