Reputation: 10139
I want to show hadoop files on HDFS under a specific folder which created on a specific day, is there a command/option to do this?
Thanks in advance, Lin
Upvotes: 0
Views: 1227
Reputation: 5533
As far as I know, hadoop
command won't support this.
You can write a script to achieve this, which is not a good implementation.
My suggestions:
time partition
would be better.database
based on hdfs
like hive
. hive
support partition
and sql
like query and insert.more about hive
and hive partitions
:
https://hive.apache.org/
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-PartitionedTables
Upvotes: 1