Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8426

Logging error in DROP_TABLE event processing.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Impala 3.3.0
    • None
    • None
    • ghx-label-8

    Description

      We have the following logging code in DROP_TABLE process() method, here always the first condition is triggered and the second will never be matched. So we should switch the order of the conditions.

      if (!tblMatched.getRef()) {
      
      LOG.warn(debugString("Table %s was not removed from "
      + "catalog since the creation time of the table did not match", tblName_));
      } else if (!tblWasFound.getRef()) {
      debugLog("Table {} was not removed since it did not exist in catalog.", tblName_);
      }
      
      

      Attachments

        Activity

          People

            bharos92 Bharath Krishna
            bharos92 Bharath Krishna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: