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

Txnhandler onrename might ignore exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • 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

        Issue Links

          Activity

            People

              pvargacl Peter Varga
              pvargacl Peter Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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