Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8762

HiveMetaStore.BooleanPointer should be replaced with an AtomicBoolean

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 1.1.0
    • Component/s: Transactions
    • Labels:
      None

      Description

      AtomicBoolean will serve the same purpose, with the added bonus that it will perform correctly if two threads try to write to it simultaneously.

        Activity

        Hide
        hiveqa Hive QA added a comment -

        Overall: -1 at least one tests failed

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

        ERROR: -1 due to 2 failed/errored test(s), 6669 tests executed
        Failed tests:

        org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_optimize_nullscan
        org.apache.hive.hcatalog.streaming.TestStreaming.testRemainingTransactions
        

        Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1691/testReport
        Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1691/console
        Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1691/

        Messages:

        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: 2 tests failed
        

        This message is automatically generated.

        ATTACHMENT ID: 12680227 - PreCommit-HIVE-TRUNK-Build

        Show
        hiveqa Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12680227/HIVE-8762.patch ERROR: -1 due to 2 failed/errored test(s), 6669 tests executed Failed tests: org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_optimize_nullscan org.apache.hive.hcatalog.streaming.TestStreaming.testRemainingTransactions Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1691/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1691/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1691/ Messages: 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: 2 tests failed This message is automatically generated. ATTACHMENT ID: 12680227 - PreCommit-HIVE-TRUNK-Build
        Hide
        ashutoshc Ashutosh Chauhan added a comment -

        +1

        Show
        ashutoshc Ashutosh Chauhan added a comment - +1
        Hide
        ashutoshc Ashutosh Chauhan added a comment -

        Committed to trunk. Thanks, Alan!

        Show
        ashutoshc Ashutosh Chauhan added a comment - Committed to trunk. Thanks, Alan!

          People

          • Assignee:
            alangates Alan Gates
            Reporter:
            alangates Alan Gates
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development