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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HDFS-12943
    • Fix Version/s: HDFS-12943, 3.3.0
    • Component/s: logging
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Plamen Jeliazkov 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

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

                Dates

                • Created:
                  Updated:
                  Resolved: