[jira] [Commented] (HIVE-15917) incorrect error handling from BackgroundWork can cause beeline query to hang
[ https://issues.apache.org/jira/browse/HIVE-15917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15870557#comment-15870557 ] Thejas M Nair commented on HIVE-15917: -- cc [~anishek] > incorrect error handling from BackgroundWork can cause beeline query to hang > > > Key: HIVE-15917 > URL: https://issues.apache.org/jira/browse/HIVE-15917 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin > Attachments: HIVE-15917.01.patch, HIVE-15917.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15917) incorrect error handling from BackgroundWork can cause beeline query to hang
[ https://issues.apache.org/jira/browse/HIVE-15917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15868852#comment-15868852 ] Siddharth Seth commented on HIVE-15917: --- +1. Discussed offline, this is while a query is running. > incorrect error handling from BackgroundWork can cause beeline query to hang > > > Key: HIVE-15917 > URL: https://issues.apache.org/jira/browse/HIVE-15917 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin > Attachments: HIVE-15917.01.patch, HIVE-15917.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15917) incorrect error handling from BackgroundWork can cause beeline query to hang
[ https://issues.apache.org/jira/browse/HIVE-15917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15868445#comment-15868445 ] Sergey Shelukhin commented on HIVE-15917: - [~sseth] it's invoked when you run queries ;) what do you mean exactly by when. There is a session at that time. Also the time is capped by max timeout, which is 30sec. > incorrect error handling from BackgroundWork can cause beeline query to hang > > > Key: HIVE-15917 > URL: https://issues.apache.org/jira/browse/HIVE-15917 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin > Attachments: HIVE-15917.01.patch, HIVE-15917.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15917) incorrect error handling from BackgroundWork can cause beeline query to hang
[ https://issues.apache.org/jira/browse/HIVE-15917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15867134#comment-15867134 ] Siddharth Seth commented on HIVE-15917: --- I'm not sure when this gets invoked in Hive. e.g. If a query is submitted, and there's no session available, will this get invoked up front, or only after a session is obtained. If it is after a session is obtained, then mostly looks good. May want to cap the timeOutMs to some value instead of shifting it each time - (will go -ve at some point, and to a really large value before that). This is in case someone decides to change the timeout in the future. > incorrect error handling from BackgroundWork can cause beeline query to hang > > > Key: HIVE-15917 > URL: https://issues.apache.org/jira/browse/HIVE-15917 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin > Attachments: HIVE-15917.01.patch, HIVE-15917.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15917) incorrect error handling from BackgroundWork can cause beeline query to hang
[ https://issues.apache.org/jira/browse/HIVE-15917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866981#comment-15866981 ] Sergey Shelukhin commented on HIVE-15917: - Test failures are unrelated... spark tests have some RPC issues > incorrect error handling from BackgroundWork can cause beeline query to hang > > > Key: HIVE-15917 > URL: https://issues.apache.org/jira/browse/HIVE-15917 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin > Attachments: HIVE-15917.01.patch, HIVE-15917.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15917) incorrect error handling from BackgroundWork can cause beeline query to hang
[ https://issues.apache.org/jira/browse/HIVE-15917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866900#comment-15866900 ] Hive QA commented on HIVE-15917: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12852644/HIVE-15917.01.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 15 failed/errored test(s), 10238 tests executed *Failed tests:* {noformat} TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=235) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cbo_rp_auto_join1] (batchId=3) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[join31] (batchId=81) org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_join_with_different_encryption_keys] (batchId=159) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[multiMapJoin2] (batchId=152) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=140) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=223) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=223) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[auto_sortmerge_join_12] (batchId=109) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[groupby3_map_multi_distinct] (batchId=109) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[groupby_bigdata] (batchId=109) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[innerjoin] (batchId=109) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[join31] (batchId=133) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[metadata_only_queries] (batchId=109) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[smb_mapjoin_6] (batchId=109) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3549/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3549/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3549/ 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: 15 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12852644 - PreCommit-HIVE-Build > incorrect error handling from BackgroundWork can cause beeline query to hang > > > Key: HIVE-15917 > URL: https://issues.apache.org/jira/browse/HIVE-15917 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin > Attachments: HIVE-15917.01.patch, HIVE-15917.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15917) incorrect error handling from BackgroundWork can cause beeline query to hang
[ https://issues.apache.org/jira/browse/HIVE-15917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866822#comment-15866822 ] Hive QA commented on HIVE-15917: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12852644/HIVE-15917.01.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 10238 tests executed *Failed tests:* {noformat} TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=235) org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_join_with_different_encryption_keys] (batchId=159) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=223) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=223) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3548/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3548/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3548/ 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: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12852644 - PreCommit-HIVE-Build > incorrect error handling from BackgroundWork can cause beeline query to hang > > > Key: HIVE-15917 > URL: https://issues.apache.org/jira/browse/HIVE-15917 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin > Attachments: HIVE-15917.01.patch, HIVE-15917.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HIVE-15917) incorrect error handling from BackgroundWork can cause beeline query to hang
[ https://issues.apache.org/jira/browse/HIVE-15917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866483#comment-15866483 ] Sergey Shelukhin commented on HIVE-15917: - Actually I'll also add a timeout there. > incorrect error handling from BackgroundWork can cause beeline query to hang > > > Key: HIVE-15917 > URL: https://issues.apache.org/jira/browse/HIVE-15917 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin > Attachments: HIVE-15917.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)