hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mehran Hassani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6777) Typos in 4 log messages
Date Tue, 13 Sep 2016 15:20:20 GMT

    [ 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

To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org

View raw message