Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3394

Add log guard for a debug message in ReduceTask

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 1.1.0
    • Component/s: task
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Target Version/s:

      Description

      There's a LOG.debug message in ReduceTask that stringifies a task ID and uses a non-negligible amount of CPU in some cases. We should guard it with isDebugEnabled

      1. mr-3394.txt
        0.8 kB
        Todd Lipcon

        Activity

        Hide
        Todd Lipcon added a comment -

        Trivial patch attached. This is only present in the 0.20 series.

        Show
        Todd Lipcon added a comment - Trivial patch attached. This is only present in the 0.20 series.
        Hide
        Eli Collins added a comment -

        +1

        Show
        Eli Collins added a comment - +1
        Hide
        Todd Lipcon added a comment -

        Committed to branch-20-security for 0.20.206. Thanks Eli.

        Show
        Todd Lipcon added a comment - Committed to branch-20-security for 0.20.206. Thanks Eli.
        Hide
        Matt Foley added a comment -

        Closed upon release of Hadoop-1.1.0.

        Show
        Matt Foley added a comment - Closed upon release of Hadoop-1.1.0.

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development