You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "philipse (Jira)" <ji...@apache.org> on 2021/05/28 07:49:00 UTC
[jira] [Created] (HADOOP-17738) getContentSummary return incorrect
filecount
philipse created HADOOP-17738:
---------------------------------
Summary: 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
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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org