Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12181

Ozone: Fix TestContainerReplicationManager by setting proper log level for LogCapturer

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • HDFS-7240
    • ozone

    Description

      TestContainerReplicationManager fails consistently because the following lines are marked at info level. Tests are looking for the log entries in the logcapturer and failing.

                if (pool.getLastProcessedTime() + this.containerProcessingLag <
                    Time.monotonicNow()) {
           ----->  LOG.debug("Adding pool {} to container processing queue", pool
                      .getPoolName());
                  InProgressPool inProgressPool =  new InProgressPool(maxPoolWait,
                      pool, this.nodeManager, this.poolManager, this.commandQueue,
                      this.executorService);
      

      Attachments

        1. HDFS-12181-HDFS-7240.002.patch
          3 kB
          Mukul Kumar Singh
        2. HDFS-12181-HDFS-7240.001.patch
          1 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: