You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2015/09/23 13:35:05 UTC

[jira] [Updated] (HIVE-11932) JDBC Driver appends an extra "/" when configuring connection by reading httpPath from ZooKeeper

     [ https://issues.apache.org/jira/browse/HIVE-11932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vaibhav Gumashta updated HIVE-11932:
------------------------------------
    Attachment: HIVE-11932.1.patch

[~thejas] This is an edge case detected when http path is just a "/" on the server side:
{code}
at org.apache.hive.beeline.BeeLine.main(BeeLine.java:467)
Caused by: java.net.URISyntaxException: Expected authority at index 2: //
at java.net.URI$Parser.fail(URI.java:2829)
at java.net.URI$Parser.failExpecting(URI.java:2835)
at java.net.URI$Parser.parseHierarchical(URI.java:3083)
at java.net.URI$Parser.parse(URI.java:3044)
at java.net.URI.<init>(URI.java:595)
at java.net.URI.create(URI.java:857)
... 26 more
0: jdbc:hive2://maint23-hs231:2181/ (closed)>
{code}

> JDBC Driver appends an extra "/" when configuring connection by reading httpPath from ZooKeeper
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11932
>                 URL: https://issues.apache.org/jira/browse/HIVE-11932
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>         Attachments: HIVE-11932.1.patch
>
>




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