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

2013-07-01 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-4406:
---

   Resolution: Fixed
Fix Version/s: 0.12.0
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Anandha!

 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
Assignee: Anandha L Ranganathan
 Fix For: 0.12.0

 Attachments: hive-4406.patch


 When the jdbc uri does not have a / or /default after the hostname:port, 
 and the principal is specified, 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;principal=. results HS2 embedded mode 
 getting used.
 jdbc:hive2://host:port/;principal= or 
 jdbc:hive2://host:port/default;principal= 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


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

2013-05-10 Thread Anandha L Ranganathan (JIRA)

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

Anandha L Ranganathan updated HIVE-4406:


Attachment: (was: hive_4406.patch)

 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
Assignee: Anandha L Ranganathan
 Attachments: hive-4406.patch


 When the jdbc uri does not have a / or /default after the hostname:port, 
 and the principal is specified, 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;principal=. results HS2 embedded mode 
 getting used.
 jdbc:hive2://host:port/;principal= or 
 jdbc:hive2://host:port/default;principal= 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


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

2013-05-01 Thread Anandha L Ranganathan (JIRA)

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

Anandha L Ranganathan updated HIVE-4406:


Release Note: patch available for review
  Status: Patch Available  (was: Open)

 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
Assignee: Anandha L Ranganathan
 Attachments: hive_4406.patch


 When the jdbc uri does not have a / or /default after the hostname:port, 
 and the principal is specified, 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;principal=. results HS2 embedded mode 
 getting used.
 jdbc:hive2://host:port/;principal= or 
 jdbc:hive2://host:port/default;principal= 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


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

2013-04-28 Thread Anandha L Ranganathan (JIRA)

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

Anandha L Ranganathan updated HIVE-4406:


Attachment: hive_4406.patch

attached patch for this bug.

 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
Assignee: Anandha L Ranganathan
 Attachments: hive_4406.patch


 When the jdbc uri does not have a / or /default after the hostname:port, 
 and the principal is specified, 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;principal=. results HS2 embedded mode 
 getting used.
 jdbc:hive2://host:port/;principal= or 
 jdbc:hive2://host:port/default;principal= 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


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

2013-04-24 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4406:


Description: 
When the jdbc uri does not have a / or /default after the hostname:port, and 
the principal is specified, 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;principal=. results HS2 embedded mode 
getting used.
jdbc:hive2://host:port/;principal= or 
jdbc:hive2://host:port/default;principal= results in it connecting to 
the standalone hive server 2.





  was:
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.






 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
Assignee: Anandha L Ranganathan

 When the jdbc uri does not have a / or /default after the hostname:port, 
 and the principal is specified, 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;principal=. results HS2 embedded mode 
 getting used.
 jdbc:hive2://host:port/;principal= or 
 jdbc:hive2://host:port/default;principal= 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