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

Include the size of tableLoadingBarrier_ in TableLoadingMgr logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Impala 4.3.0
    • None
    • Frontend
    • ghx-label-6

    Description

      The logging in TableLoadingMgr.java already logs the size of tableLoadingDeque_ and loadingTables_ here:

       

            try {
              LOG.info("Loading metadata for table: " +
                  tblName_.db_name + "." + tblName_.table_name);
              LOG.info(String.format("Remaining items in queue: %s. Loads in progress: %s",
                  tableLoadingDeque_.size(), loadingTables_.size()));
              tbl = tblTask_.get();
            } catch (Exception e) {

      https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/catalog/TableLoadingMgr.java#L71

      It would be useful to also log the size of tableLoadingBarrier_ as well, because that structure is crucial to correctness and it is otherwise difficult to observe.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: