[
https://issues.apache.org/jira/browse/HIVE-18963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399859#comment-16399859
]
Vihang Karajgaonkar commented on HIVE-18963:
--------------------------------------------
Thanks [~vgumashta] for creating this. I think it would be a very useful
feature. How does this request relate to HIVE-14063? That patch used
hive-site.xml and beeline-hs2-connection.xml files to automatically connect to
the HS2. I am not aware of beeline-site.xml. Is this patch planning to
introduce a new file called beeline-site.xml or it already exists? Can we reuse
some of the work done for HIVE-14063? Thanks!
> JDBC: Provide an option to simplify beeline usage by supporting default and
> named URL for beeline
> -------------------------------------------------------------------------------------------------
>
> Key: HIVE-18963
> URL: https://issues.apache.org/jira/browse/HIVE-18963
> Project: Hive
> Issue Type: Bug
> Components: Beeline
> Reporter: Vaibhav Gumashta
> Assignee: Vaibhav Gumashta
> Priority: Major
>
> Currently, after opening Beeline CLI, the user needs to supply a connection
> string to use the HS2 instance and set up the jdbc driver. Since we plan to
> replace Hive CLI with Beeline in future (HIVE-10511), it will help the
> usability if the user can simply type {{beeline}} and get start the hive
> session. The jdbc url can be specified in a beeline-site.xml (which can
> contain other named jdbc urls as well, and they can be accessed by something
> like: {{beeline -c namedUrl}}. The use of beeline-site.xml can also be
> potentially expanded later if needed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)