[
https://issues.apache.org/jira/browse/HADOOP-17738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353025#comment-17353025
]
philipse commented on HADOOP-17738:
-----------------------------------
the file format as
{code:java}
1-0-1518105600982.text
10-0-1518105600716.text
{code}
> getContentSummary return incorrect filecount
> --------------------------------------------
>
> Key: HADOOP-17738
> URL: https://issues.apache.org/jira/browse/HADOOP-17738
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Affects Versions: 2.7.7
> Environment: HDP:2.7.7
> Reporter: philipse
> Priority: Minor
>
> Hi team
> I got a strange test result when I get hdfs statistics ,the test process
> shows below.
> Any advice will be appreciated ,Thanks in advance.
> {code:java}
> 1、hdfs dfs -count /data/BaseData/Log/mq/2018/02/09/,it shows we have 100 file
> 1 100 9689234070 /data/BaseData/Log/mq/2018/02/09/
> 2、hdfs dfs -ls /data/BaseData/Log/mq/2018/02/09/ ,it shows we have only 98
> items
> Found 98 items
> 3、hdfs dfs -cp /data/BaseData/Log/mq/2018/02/09/*
> /data/BaseData/Log/mq_test/2018/02/09/
> 4、hdfs dfs -count /data/BaseData/Log/mq_test/2018/02/09/ ,it shows we have 98
> items too
> 1 98 9689234070 /data/dpdcadmin/gf13871/test20210528
> 5、hdfs dfs -ls /data/BaseData/Log/mq_test/2018/02/09/ ,it shows we have 98
> items
> Found 98 items
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]