You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Anandha L Ranganathan (JIRA)" <ji...@apache.org> on 2013/04/24 01:09:16 UTC

[jira] [Commented] (HIVE-4406) Missing "/" or "/" in hs2 jdbc uri switches mode to embedded mode

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

Anandha L Ranganathan commented on HIVE-4406:
---------------------------------------------

thejas ,   If you are not working, I would like to assign this bug to myself. Can anyone add me into the contributors list so that I can assign it myself.
                
> Missing "/" or "/<dbname>" in hs2 jdbc uri switches mode to embedded mode
> -------------------------------------------------------------------------
>
>                 Key: HIVE-4406
>                 URL: https://issues.apache.org/jira/browse/HIVE-4406
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Thejas M Nair
>
> When the jdbc uri does not have a / or "/default" after the hostname:port, it ends up launching HS2 in embedded mode.
> This is because the parsing of uri in such case does not end up extracting the hostname.
> eg . "jdbc:hive2://<host>:<port>" results HS2 embedded mode getting used.
> "jdbc:hive2://<host>:<port>/" or "jdbc:hive2://<host>:<port>/default" results in it connecting to the standalone hive server 2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira