Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7063

Fix log level inconsistency in CombineFileInputFormat.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.2.0
    • client
    • Reviewed

    Description

      https://github.com/apache/hadoop/blob/178751ed8c9d47038acf8616c226f1f52e884feb/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/input/CombineFileInputFormat.java#L428-L429

       

      LOG.info("DEBUG: Terminated node allocation with : CompletedNodes: "
      + completedNodes.size() + ", size left: " + totalLength);
      
      1. Use SLF4J Parameterized logging
      2. The message literal string contains the word "DEBUG" but this is INFO level logging. Remove the word "DEBUG" and set the logging level to DEBUG

      Attachments

        1. 395.patch
          2 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              vbmudalige Vidura Bhathiya Mudalige
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: