[ 
https://issues.apache.org/jira/browse/HIVE-10623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14538020#comment-14538020
 ] 

Ferdinand Xu commented on HIVE-10623:
-------------------------------------

Hi [~xuefuz]
Thank you for your review and comments. Please correct me if I am 
misunderstanding your last question in the review board. 
Currently hive cli is able to access the metastore through the driver. On the 
other hand, beeline is able to do the same things  with hive server2. Based on 
my patch, I verified it in a local cluster with the following steps.
{noformat}
1. start up a metastore and start a HS sever2
2. prepare some data
3. connect using cli and beeline
4. show the data and both are correct
5. stop metastore
6. executions on beeline and cli are both failed due the metastore connection 
lost
{noformat}
More detailed information is available in the class 
HiveConnection.java(https://github.com/apache/hive/blob/4b5487aafca5114b13897e7be35a332b211483a7/jdbc/src/java/org/apache/hive/jdbc/Utils.java#L308)
For the test coverage, do we need to add some unit test or integrating test for 
that?
And for the beeline, it will connect to the hive server2 and then access the 
metastore through the HS2. So the workflow is changed, resulting in a potential 
performance impact. I will continue the performance measure tool work to show 
the impacts.
Is that what you're considering? Thank you!

> Implement hive cli options using beeline functionality
> ------------------------------------------------------
>
>                 Key: HIVE-10623
>                 URL: https://issues.apache.org/jira/browse/HIVE-10623
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CLI
>            Reporter: Ferdinand Xu
>            Assignee: Ferdinand Xu
>         Attachments: HIVE-10623.patch
>
>
> We need to support the original hive cli options for the purpose of backwards 
> compatibility. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to