Support Questions

Find answers, ask questions, and share your expertise

hbase org.apache.hadoop.hbase.mapreduce.Export only export one metric from hbase

avatar
Explorer

Hello,

For backup purpose, I need to export the tsdb table for the last year. I have ten of thousands of metrics stored in it. 

I've made a test for just 10 sec and I 've got back only one metric inside the data files exported. The database is now very big. Running for more than 12 years. 

Please what's wrong  ? 

/usr/bin/hbase org.apache.hadoop.hbase.mapreduce.Export -tsdb /export 1 1704900200 1704900210

Here is the result : 

$ ls | tail
part-m-01847
part-m-01848
part-m-01849
part-m-01850
part-m-01851
part-m-01852
part-m-01853
part-m-01854
part-m-01855
_SUCCESS

$ strings part-m-01852
1org.apache.hadoop.hbase.io.ImmutableBytesWritable%org.apache.hadoop.hbase.client.Result

?

0 REPLIES 0