Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12943 Consistent Reads from Standby Node
  3. HDFS-14094

Fix the order of logging arguments in ObserverReadProxyProvider.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-12943
    • HDFS-12943, 3.3.0
    • logging
    • None
    • Reviewed

    Description

      zero45 finding from HDFS-14059

      In ObserverReadProxyProvider there is a warn message:

              LOG.warn("{} observers have failed for read request {}; also found " +
                  "{} standby and {} active. Falling back to active.",
                  failedObserverCount, standbyCount, activeCount, method.getName());
      

      Seems the arguments are out of order, should probably be failedObserverCount, method.getName(), standbyCount, activeCoun`.

      Attachments

        1. HDFS-14094-HDFS-12943-01.patch
          1 kB
          Ayush Saxena

        Issue Links

          Activity

            People

              ayushtkn Ayush Saxena
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: