You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Leibniz Hu (Jira)" <ji...@apache.org> on 2023/04/08 06:41:00 UTC
[jira] [Commented] (SPARK-43017) Connect to multiple hive metastore using single sparkcontext (i.e without stopping it")
[ https://issues.apache.org/jira/browse/SPARK-43017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709833#comment-17709833 ]
Leibniz Hu commented on SPARK-43017:
------------------------------------
my blog maybe helpful for you, but it's written in chinese:
[https://leibnizhu.github.io/p/Spark%E5%8A%A8%E6%80%81%E5%8A%A0%E8%BD%BDhive%E9%85%8D%E7%BD%AE%E7%9A%84%E6%96%B9%E6%A1%88/]
> Connect to multiple hive metastore using single sparkcontext (i.e without stopping it")
> ---------------------------------------------------------------------------------------
>
> Key: SPARK-43017
> URL: https://issues.apache.org/jira/browse/SPARK-43017
> Project: Spark
> Issue Type: Question
> Components: Spark Core, Spark Submit
> Affects Versions: 3.2.0
> Reporter: Pravin Rathore
> Priority: Critical
>
> I wanted to join 2 hive tables which are stored in 2 different hive metastores.
> I would like fetch the first table, create a tempview. Change hive metastore uri, connect to that metastore and fetch the second table , create a tempview and then use tempviews to do further.
> I launched 2 different instances of hive on my local , individually i'm able to connect to both, but when i try to connect to them one after other, the second time the old URI's is getting used.
> Any workaround this.
> Please help out :\
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org