Sumeet created HIVE-23989:
-----------------------------

             Summary: 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


*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)

Reply via email to