[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14984704#comment-14984704 ] Lefty Leverenz commented on HIVE-12280: --- Okay, thanks Thejas. > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Fix For: 1.3.0, 2.0.0 > > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14984662#comment-14984662 ] Thejas M Nair commented on HIVE-12280: -- [~leftylev] This fixes a bug that was introduced in an unreleased version. So no doc update is needed. > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Fix For: 1.3.0, 2.0.0 > > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983891#comment-14983891 ] Lefty Leverenz commented on HIVE-12280: --- Does this need to be documented in the wiki? * [HiveServer2 Clients | https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients] > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Fix For: 1.3.0, 2.0.0 > > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983066#comment-14983066 ] Szehon Ho commented on HIVE-12280: -- Backported to branch-1 > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Fix For: 1.3.0, 2.0.0 > > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982988#comment-14982988 ] Vaibhav Gumashta commented on HIVE-12280: - [~szehon] Thanks for identifying and fixing this. I think we should get this in branch-1 as well. > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Fix For: 2.0.0 > > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982993#comment-14982993 ] Szehon Ho commented on HIVE-12280: -- Makes sense, I will backport > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Fix For: 2.0.0 > > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14980864#comment-14980864 ] Hive QA commented on HIVE-12280: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12769437/HIVE-12280.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 9733 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestHBaseCliDriver.testCliDriver_hbase_queries org.apache.hadoop.hive.hwi.TestHWISessionManager.testHiveDriver org.apache.hive.jdbc.TestSSL.testSSLVersion {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5850/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5850/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5850/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12769437 - PreCommit-HIVE-TRUNK-Build > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Attachments: HIVE-12280.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14981131#comment-14981131 ] Szehon Ho commented on HIVE-12280: -- [~thejas] [~jxiang] can one of you help take a look? > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14981315#comment-14981315 ] Jimmy Xiang commented on HIVE-12280: With the patch, a random HS2 will be used even if the HS2 is specified in the URL properties. For the test, it should be ok if the property object is not re-used, right? > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14981328#comment-14981328 ] Szehon Ho commented on HIVE-12280: -- I might be mistaken as I'm not the original author, but from my understanding the host/port is not parsed from URL during the service-discovery mode (looked at callstack of JdbcConnectionParams.setHost() and setPort()). The second comment, I assume you mean to make a new property map? Yea I can do that. > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14981392#comment-14981392 ] Szehon Ho commented on HIVE-12280: -- Thanks for the review. > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14981389#comment-14981389 ] Jimmy Xiang commented on HIVE-12280: Chatted with Szehon. +1. At least, in discovery mode, all connection related properties should be from the ZK to be consistent. > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12280) HiveConnection does not try other HS2 after failure for service discovery
[ https://issues.apache.org/jira/browse/HIVE-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14981955#comment-14981955 ] Thejas M Nair commented on HIVE-12280: -- +1 . Thanks for adding the test, thats very valuable! Yes, host/port of HS2 should not be specified in jdbc url, if zookeeper service discovery mode is being used. > HiveConnection does not try other HS2 after failure for service discovery > - > > Key: HIVE-12280 > URL: https://issues.apache.org/jira/browse/HIVE-12280 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Szehon Ho >Assignee: Szehon Ho > Attachments: HIVE-12280.patch, HIVE-12880.1.patch > > > Found this while mocking some bad connection data in znode.. will try to add > a test for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)