[ https://issues.apache.org/jira/browse/HIVE-10589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14533686#comment-14533686 ]
Hive QA commented on HIVE-10589: -------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12731031/HIVE-10589.1.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 8919 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_static {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3803/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3803/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3803/ Messages: {noformat} 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12731031 - PreCommit-HIVE-TRUNK-Build > Thread.wait not in loop in HWISessionItem > ----------------------------------------- > > Key: HIVE-10589 > URL: https://issues.apache.org/jira/browse/HIVE-10589 > Project: Hive > Issue Type: Improvement > Components: Web UI > Reporter: Alexander Pivovarov > Assignee: Alexander Pivovarov > Priority: Minor > Attachments: HIVE-10589.1.patch, rb33797.patch > > > Usually in multi-threading programming Thread.wait() should be in "while" > loop. > So, "if" statement below should be replaced with "while". HWISessionItem > (121-128) > {code} > synchronized (runnable) { > if (status != WebSessionItemStatus.READY) { > try { > runnable.wait(); > } catch (Exception ex) { > } > } > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)