hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20043) HiveServer2: SessionState has a static sync block around an AtomicBoolean
Date Sat, 07 Jul 2018 09:54:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-20043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16535714#comment-16535714
] 

Hive QA commented on HIVE-20043:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12930506/HIVE-20043.02.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 14616 tests executed
*Failed tests:*
{noformat}
TestAlterTableMetadata - did not produce a TEST-*.xml file (likely timed out) (batchId=240)
TestAutoPurgeTables - did not produce a TEST-*.xml file (likely timed out) (batchId=240)
TestLocationQueries - did not produce a TEST-*.xml file (likely timed out) (batchId=240)
TestReplicationScenariosAcidTables - did not produce a TEST-*.xml file (likely timed out)
(batchId=240)
TestSemanticAnalyzerHookLoading - did not produce a TEST-*.xml file (likely timed out) (batchId=240)
TestSparkStatistics - did not produce a TEST-*.xml file (likely timed out) (batchId=240)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_dynamic_partition]
(batchId=190)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_expressions] (batchId=190)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_test1] (batchId=190)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_test_alter] (batchId=190)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_test_insert] (batchId=190)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/12439/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12439/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12439/

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
Tests exited with: TestsFailedException: 11 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12930506 - PreCommit-HIVE-Build

> HiveServer2: SessionState has a static sync block around an AtomicBoolean
> -------------------------------------------------------------------------
>
>                 Key: HIVE-20043
>                 URL: https://issues.apache.org/jira/browse/HIVE-20043
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 3.0.0
>            Reporter: Gopal V
>            Assignee: Laszlo Bodor
>            Priority: Major
>              Labels: Branch3Candidate, Concurrency
>         Attachments: HIVE-20043.01.patch, HIVE-20043.02.patch
>
>
> {code}
>   private static void start(SessionState startSs, boolean isAsync, LogHelper console)
{
> ...
>     synchronized(SessionState.class) {
>       if (!startSs.isStarted.compareAndSet(false, true)) {
>         return;
>       }
>     }
> {code}
> startSs.isStarted is an AtomicBoolean, which makes it hard to know why this code is locked
with a static lock.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message