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

Txnhandler onrename might ignore exceptions

Log workAgile BoardRank to TopRank to BottomAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Hive

      Description

      This is a followup onĀ HIVE-24193. Table not exists errors shouldn't be ignored in the first place.

      } catch (SQLException e) {
              LOG.debug("Going to rollback: " + callSig);
              rollbackDBConn(dbConn);
              checkRetryable(dbConn, e, callSig);
              if (e.getMessage().contains("does not exist")) {
                LOG.warn("Cannot perform " + callSig + " since metastore table does not exist");
              } else {
                throw new MetaException("Unable to " + callSig + ":" + StringUtils.stringifyException(e));
              }
            }
      

      This error handling might have been put there for backard compatibility for missing acid metadata tables, but this is not needed anymore.

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 0.5h
              0.5h

                Issue deployment