[jira] [Commented] (HIVE-19597) TestWorkloadManager sometimes hangs
[ https://issues.apache.org/jira/browse/HIVE-19597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500172#comment-16500172 ] Hive QA commented on HIVE-19597: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12926027/HIVE-19597.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 14452 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/11498/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11498/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11498/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12926027 - PreCommit-HIVE-Build > TestWorkloadManager sometimes hangs > --- > > Key: HIVE-19597 > URL: https://issues.apache.org/jira/browse/HIVE-19597 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin >Priority: Major > Attachments: HIVE-19597.patch > > > Seems like the tests randomly get stuck after the lines like > {noformat} > 2018-05-17T01:54:27,111 INFO [Workload management master] > tez.WorkloadManager: Processing current events > 2018-05-17T01:54:27,603 INFO [TriggerValidator] > tez.PerPoolTriggerValidatorRunnable: Creating trigger validator for pool: llap > 2018-05-17T01:54:37,090 DEBUG [Thread-28] conf.HiveConf: Found metastore URI > of null > {noformat} > Then they get killed by timeout. Happened in the same manner, to random tests > in a few separate runs. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-19597) TestWorkloadManager sometimes hangs
[ https://issues.apache.org/jira/browse/HIVE-19597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500140#comment-16500140 ] Hive QA commented on HIVE-19597: | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 14s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 59s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 34s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 3m 37s{color} | {color:blue} ql in master has 2277 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 49s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 16s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 0s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 34s{color} | {color:red} ql: The patch generated 5 new + 108 unchanged - 1 fixed = 113 total (was 109) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 3m 48s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 54s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 11s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 21m 25s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11498/dev-support/hive-personality.sh | | git revision | master / 439a6e6 | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-11498/yetus/diff-checkstyle-ql.txt | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-11498/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > TestWorkloadManager sometimes hangs > --- > > Key: HIVE-19597 > URL: https://issues.apache.org/jira/browse/HIVE-19597 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin >Priority: Major > Attachments: HIVE-19597.patch > > > Seems like the tests randomly get stuck after the lines like > {noformat} > 2018-05-17T01:54:27,111 INFO [Workload management master] > tez.WorkloadManager: Processing current events > 2018-05-17T01:54:27,603 INFO [TriggerValidator] > tez.PerPoolTriggerValidatorRunnable: Creating trigger validator for pool: llap > 2018-05-17T01:54:37,090 DEBUG [Thread-28] conf.HiveConf: Found metastore URI > of null > {noformat} > Then they get killed by timeout. Happened in the same manner, to random tests > in a few separate runs. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-19597) TestWorkloadManager sometimes hangs
[ https://issues.apache.org/jira/browse/HIVE-19597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16498831#comment-16498831 ] Prasanth Jayachandran commented on HIVE-19597: -- +1 > TestWorkloadManager sometimes hangs > --- > > Key: HIVE-19597 > URL: https://issues.apache.org/jira/browse/HIVE-19597 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin >Priority: Major > Attachments: HIVE-19597.patch > > > Seems like the tests randomly get stuck after the lines like > {noformat} > 2018-05-17T01:54:27,111 INFO [Workload management master] > tez.WorkloadManager: Processing current events > 2018-05-17T01:54:27,603 INFO [TriggerValidator] > tez.PerPoolTriggerValidatorRunnable: Creating trigger validator for pool: llap > 2018-05-17T01:54:37,090 DEBUG [Thread-28] conf.HiveConf: Found metastore URI > of null > {noformat} > Then they get killed by timeout. Happened in the same manner, to random tests > in a few separate runs. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-19597) TestWorkloadManager sometimes hangs
[ https://issues.apache.org/jira/browse/HIVE-19597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497436#comment-16497436 ] Sergey Shelukhin commented on HIVE-19597: - Looks like the test event can get overwritten and never be triggered. [~prasanth_j] can you take a look? I'm also adding some logging to make it easier to debug. > TestWorkloadManager sometimes hangs > --- > > Key: HIVE-19597 > URL: https://issues.apache.org/jira/browse/HIVE-19597 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin >Priority: Major > Attachments: HIVE-19597.patch > > > Seems like the tests randomly get stuck after the lines like > {noformat} > 2018-05-17T01:54:27,111 INFO [Workload management master] > tez.WorkloadManager: Processing current events > 2018-05-17T01:54:27,603 INFO [TriggerValidator] > tez.PerPoolTriggerValidatorRunnable: Creating trigger validator for pool: llap > 2018-05-17T01:54:37,090 DEBUG [Thread-28] conf.HiveConf: Found metastore URI > of null > {noformat} > Then they get killed by timeout. Happened in the same manner, to random tests > in a few separate runs. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-19597) TestWorkloadManager sometimes hangs
[ https://issues.apache.org/jira/browse/HIVE-19597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16482784#comment-16482784 ] Sergey Shelukhin commented on HIVE-19597: - Update: (I am not looking at this for now but plan to look this week...) it happens when we get a session on a separate thread and then join() it. I added logging and reproed locally and it looked like the spawned thread got the session but didn't exit, which is not supposed to be possible. I will look more later. > TestWorkloadManager sometimes hangs > --- > > Key: HIVE-19597 > URL: https://issues.apache.org/jira/browse/HIVE-19597 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin >Priority: Major > > Seems like the tests randomly get stuck after the lines like > {noformat} > 2018-05-17T01:54:27,111 INFO [Workload management master] > tez.WorkloadManager: Processing current events > 2018-05-17T01:54:27,603 INFO [TriggerValidator] > tez.PerPoolTriggerValidatorRunnable: Creating trigger validator for pool: llap > 2018-05-17T01:54:37,090 DEBUG [Thread-28] conf.HiveConf: Found metastore URI > of null > {noformat} > Then they get killed by timeout. Happened in the same manner, to random tests > in a few separate runs. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-19597) TestWorkloadManager sometimes hangs
[ https://issues.apache.org/jira/browse/HIVE-19597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479770#comment-16479770 ] Sergey Shelukhin commented on HIVE-19597: - The trigger thing just runs on timer, and therefore happens last after the test itself is probably already stuck... appears to be a red herring. > TestWorkloadManager sometimes hangs > --- > > Key: HIVE-19597 > URL: https://issues.apache.org/jira/browse/HIVE-19597 > Project: Hive > Issue Type: Bug >Reporter: Sergey Shelukhin >Assignee: Sergey Shelukhin >Priority: Major > > Seems like the tests randomly get stuck after the lines like > {noformat} > 2018-05-17T01:54:27,111 INFO [Workload management master] > tez.WorkloadManager: Processing current events > 2018-05-17T01:54:27,603 INFO [TriggerValidator] > tez.PerPoolTriggerValidatorRunnable: Creating trigger validator for pool: llap > 2018-05-17T01:54:37,090 DEBUG [Thread-28] conf.HiveConf: Found metastore URI > of null > {noformat} > Then they get killed by timeout. Happened in the same manner, to random tests > in a few separate runs. -- This message was sent by Atlassian JIRA (v7.6.3#76005)