hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Gumashta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-11932) JDBC Driver appends an extra "/" when configuring connection by reading httpPath from ZooKeeper
Date Wed, 23 Sep 2015 11:35:05 GMT

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

Mime
View raw message