[
https://issues.apache.org/jira/browse/HIVE-23989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17171729#comment-17171729
]
Sumeet commented on HIVE-23989:
-------------------------------
Thanks for committing the change :)
> Read isMetastoreRemote flag from system var in StartMiniHS2Cluster
> ------------------------------------------------------------------
>
> Key: HIVE-23989
> URL: https://issues.apache.org/jira/browse/HIVE-23989
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Reporter: Sumeet
> Assignee: Sumeet
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> *Problem:*
> In order to access ACID tables created using MiniHS2, spark-acid requires to
> access the same HMS which MiniHS2 uses.
> In StartMiniHS2Cluster, while initializing MiniHS2, isMetastoreRemote is set
> to false.
> Hence the metastore cannot be accessed from Spark or any other application
> per se.
> Due to this limitation, spark-acid cannot be tested on ACID tables created
> using MiniHS2.
> *Proposed Solution:*
> Read miniHS2.isMetastoreRemote from env variable with default value of false.
> *Benefit:*
> This will enable testing spark-acid locally with MiniHS2 and may help in
> reducing the test-dev cycle for spark-acid.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)