[
https://issues.apache.org/jira/browse/HIVE-18963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401320#comment-16401320
]
Vaibhav Gumashta commented on HIVE-18963:
-----------------------------------------
[~vihangk1] Looked at the patch and a couple things that would be nice to have
in addition to what the patch adds:
1. I think we should have a way to specify the final jdbc url (including not
just the host:port, but other connection/session/conf params). That would be a
nice usability add on - what do you think?
2. We should also have a way to specify urls (let's call it named urls) for
different HS2 services. For example, let's say there are 2 different versions
of the service running on the cluster, the user can connect to a specific
instance like this: {{beeline -c namedUrl}}. We can keep a default url as well
which gets picked if no namedUrl switch is provided on command line.
Let me know what you think about these additions - I can create a patch with
these changes. 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)