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

qiang Liu commented on HDFS-14303:
----------------------------------

because the logic is very simple and only warn log is affected, so I did't add 
any uinit test.

and I think other failed tests has nothing to do with this patch

> chek block directory logic not correct when there is only meta file, print no 
> meaning warn log
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-14303
>                 URL: https://issues.apache.org/jira/browse/HDFS-14303
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode, hdfs
>    Affects Versions: 2.7.3
>         Environment: env free
>            Reporter: qiang Liu
>            Priority: Minor
>              Labels: easy-fix
>         Attachments: HDFS-14303-branch-2.005.patch, 
> HDFS-14303-branch-2.7.001.patch, HDFS-14303-branch-2.7.004.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> chek block directory logic not correct when there is only meta file,print no 
> meaning warn log, eg:
>  WARN DirectoryScanner:? - Block: 1101939874 has to be upgraded to block 
> ID-based layout. Actual block file path: 
> /data14/hadoop/data/current/BP-1461038173-10.8.48.152-1481686842620/current/finalized/subdir174/subdir68,
>  expected block file path: 
> /data14/hadoop/data/current/BP-1461038173-10.8.48.152-1481686842620/current/finalized/subdir174/subdir68/subdir68



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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