I am trying to write a backup script of HBase tables. So I wanted to get all those tables which are created/modified after a particular time. Is there any command for that? Thanks for the suggestions in advance
Asked
Active
Viewed 873 times
1 Answers
1
All hbase tables are stored in HDFS
In hbase site.xml see hbase.rootdir
<property>
<name>hbase.rootdir</name>
<value>hdfs://hadoop:8020/apps/hbase</value>
</property>
so you can do hadoop fs -ls -R | grep yourtable
it will print time stamps

Ram Ghadiyaram
- 28,239
- 13
- 95
- 121