[ 
https://issues.apache.org/jira/browse/HDFS-10862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira Ajisaka updated HDFS-10862:
---------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0-alpha2
                   2.8.0
           Status: Resolved  (was: Patch Available)

Committed this to trunk, branch-2, and branch-2.8. Thanks [~MehranHassani] for 
the contribution and thanks [~linyiqun] for the review.

> Typos in 4 log messages
> -----------------------
>
>                 Key: HDFS-10862
>                 URL: https://issues.apache.org/jira/browse/HDFS-10862
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Mehran Hassani
>            Assignee: Mehran Hassani
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         Attachments: HDFS-10862.001.patch
>
>
> 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 HDFS:
> In file 
> /hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsVolumeList.java,
>  FsDatasetImpl.LOG.info("The volume " + v + " is closed while " +"addng 
> replicas  ignored."), 
> addng should be adding 
> In file 
> /hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java,
>  NameNode.LOG.info("Caching file names occuring more than " + threshold+ " 
> times"), 
> occuring should be occurring
> In file 
> /hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java,
>  LOG.info("NNStorage.attemptRestoreRemovedStorage: check removed(failed) 
> "+"storarge. removedStorages size = " + removedStorageDirs.size()), 
> storarge should be storage
> In file 
> /hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java,
>  LOG.info("Partical read. Asked offset: " + offset + " count: " + count+ " 
> and read back: " + readCount + " file size: "+ attrs.getSize()), 
> Partical should be Partial



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to