You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2013/07/02 03:41:20 UTC

[jira] [Updated] (HIVE-4802) Fix url check for missing "/" or "/ after hostname in jdb uri

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

Thejas M Nair updated HIVE-4802:
--------------------------------

    Attachment: HIVE-4802.1.patch

HIVE-4802.1.patch - Changed the check to see if hostname is null while authority is non null (ie failure to parse hostname out of it). Also added checks for more urls.

                
> Fix url check for missing "/" or "/<db> after hostname in jdb uri
> -----------------------------------------------------------------
>
>                 Key: HIVE-4802
>                 URL: https://issues.apache.org/jira/browse/HIVE-4802
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, JDBC
>    Affects Versions: 0.12.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4802.1.patch
>
>
> HIVE-4406 added a check for jdbc uri to prevent unintentional use of embedded mode. But that does not correctly check for uri like "jdbc:hive2://localhost:10000;principal=hive/HiveServer2Host@YOUR-REALM.COM" that can also result in embedded mode being used.

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