[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487495#comment-15487495
 ] 

Mehran Hassani commented on MAPREDUCE-6777:
-------------------------------------------

Our tool is a static code analysis tool so it works on source code and it can 
be built into Jenkins. We also detect other bug patterns in logs, such as wrong 
log level, missing logs in exception handling block and others. We will report 
those bugs as well if you are interested we can provide more detailed 
information. 

> 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
>              Labels: newbie
>
> 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