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

Bad logging practices in mapreduce

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.2
    • Fix Version/s: None
    • Component/s: client

      Description

      Similar to previous issue HADOOP-3029, in the file:
      hadoop-rel-release-2.7.2/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/speculate/DefaultSpeculator.java
      line 253, the whole method is for debugging purpose, therefore the log:

      LOG.info("We got asked to run a debug speculation scan.");
      

      should be set to debug level instead of info level to avoid redundant information.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chenfsd Nemo Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: