Mehran Hassani created MAPREDUCE-6777:
-----------------------------------------

             Summary: Typos in 4 log messages
                 Key: MAPREDUCE-6777
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6777
             Project: Hadoop Map/Reduce
          Issue Type: Bug
            Reporter: Mehran Hassani
            Priority: Trivial


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to