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

Typos in 4 log messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha2
    • None
    • Reviewed

    Description

      I am conducting research on log related bugs. I tried to make a tool to fix repetitive yet simple patterns of bugs that are related to logs. Typos in log messages are one of the reoccurring bugs. Therefore, I made a tool find typos in log statements. During my experiments, I managed to find the following typos in Hadoop MapReduce:

      In file /hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapred/TaskAttemptListenerImpl.java, LOG.info("Done acknowledgement from " + taskAttemptID.toString()),
      acknowledgement should be acknowledgment

      In file /hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/jobhistory/JobHistoryEventHandler.java, LOG.info("Exception while cancelling delayed flush timer. "+ "Likely caused by a failed flush " + e.getMessage()),
      cancelling should be canceling

      In file /hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java, LOG.info("Runnning cleanup for the task"),
      Runnning should be Running

      In file /hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle/src/main/java/org/apache/hadoop/mapred/ShuffleHandler.java, LOG.info("Storing state DB schedma version info " + getCurrentVersion()),
      schedma should be schema

      Attachments

        1. MAPREDUCE-6777.001.patch
          4 kB
          Mehran Hassani

        Activity

          People

            MehranHassani Mehran Hassani
            MehranHassani Mehran Hassani
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: