Hello,
I'm currently trying to backup openTSDB metrics from HBASE using this command
/usr/bin/hbase org.apache.hadoop.hbase.mapreduce.Export tsdb /exportdir 1 1704900200 1704900210
Problem : I only got files of 114 octets containing 1 metric whereas I have tens of thousands of metrics :
$ ls -l | head
total 7424
-rw-r--r-- 1 hdfs hadoop 114 Jan 12 10:15 part-m-00000
-rw-r--r-- 1 hdfs hadoop 114 Jan 12 10:15 part-m-00001
-rw-r--r-- 1 hdfs hadoop 114 Jan 12 10:15 part-m-00002
-rw-r--r-- 1 hdfs hadoop 114 Jan 12 10:15 part-m-00003
-rw-r--r-- 1 hdfs hadoop 114 Jan 12 10:15 part-m-00004
-rw-r--r-- 1 hdfs hadoop 114 Jan 12 10:15 part-m-00005
-rw-r--r-- 1 hdfs hadoop 114 Jan 12 10:15 part-m-00006
-rw-r--r-- 1 hdfs hadoop 114 Jan 12 10:15 part-m-00007
-rw-r--r-- 1 hdfs hadoop 114 Jan 12 10:15 part-m-00008
$ strings part-m-00005
1org.apache.hadoop.hbase.io.ImmutableBytesWritable%org.apache.hadoop.hbase.client.Result
What's wrong please ?
Regards