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

Another possible cause to NucleusObjectNotFoundException from drops/rollback

    Details

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

      Description

      It might be another possible cause to org.datanucleus.exceptions.NucleusObjectNotFoundException: No such database row in drops and retries.
      The rollback might also fail for some reason (e.g. same as that for commit), and the detached objects should also be evicted for same reason as HIVE-3826.
      The evictAll needs to be put in the finally block.

        Issue Links

          Activity

          Hide
          ctang.ma Chaoyu Tang added a comment -

          Thanks in advanced for the review.

          Show
          ctang.ma Chaoyu Tang added a comment - Thanks in advanced for the review.
          Hide
          hiveqa Hive QA added a comment -

          Overall: +1 all checks pass

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

          SUCCESS: +1 6647 tests passed

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

          Messages:

          Executing org.apache.hive.ptest.execution.PrepPhase
          Executing org.apache.hive.ptest.execution.ExecutionPhase
          Executing org.apache.hive.ptest.execution.ReportingPhase
          

          This message is automatically generated.

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

          Show
          hiveqa Hive QA added a comment - Overall : +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12681772/HIVE-8891.patch SUCCESS: +1 6647 tests passed Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1813/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1813/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1813/ Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase This message is automatically generated. ATTACHMENT ID: 12681772 - PreCommit-HIVE-TRUNK-Build
          Hide
          brocknoland Brock Noland added a comment -

          +1

          Show
          brocknoland Brock Noland added a comment - +1
          Hide
          brocknoland Brock Noland added a comment -

          Thank you for the patch! I have committed this to trunk!

          Show
          brocknoland Brock Noland added a comment - Thank you for the patch! I have committed this to trunk!
          Hide
          sushanth Sushanth Sowmyan added a comment -

          Hi, could you both please also have a look at the discussion/analysis over at HIVE-8850 ? I think that this goes a bit deeper still.

          Show
          sushanth Sushanth Sowmyan added a comment - Hi, could you both please also have a look at the discussion/analysis over at HIVE-8850 ? I think that this goes a bit deeper still.

            People

            • Assignee:
              ctang.ma Chaoyu Tang
              Reporter:
              ctang.ma Chaoyu Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development