Re: How to get HBase table size using API

2014-02-18 Thread Lukas Nalezenec
4, the class has interdependencies vig import org.apache.hadoop.hbase.RegionLoad; import org.apache.hadoop.hbase.ServerLoad; unable to find these classes in 0.94.X are these classes available in 0.94 under some other package, On Tue, Feb 11, 2014 at 3:12 PM, Lukas Nalezenec < luk

Re: How to Read hbase server side properties

2014-02-11 Thread Lukas Nalezenec
How about BaseConfiguration.create() in package org.apache.hadoop.hbase? Lukas On 11.2.2014 16:39, Vinay Kashyap wrote: Hi bharath,Thanks for the info.. But is there any java API exposed to get same information..??Thanks and regardsVinay Kashyap

Re: How to get HBase table size using API

2014-02-11 Thread Lukas Nalezenec
Hi, I am hbase newbie, maybe there is simpler solution but this will work. I tried estimating size using HDFS but it is not best solution(see link [1]); You dont need to work with TableSplits., look at class org.apache.hadoop.hbase.util.RegionSizeCalculator. It can do what you need. Create i

Re: How to get HBase table size using API

2014-02-10 Thread Lukas Nalezenec
Hi, I am just working on something similar. See ticket https://issues.apache.org/jira/browse/HBASE-10413 . I am going to close the ticket today. Lukas On 10.2.2014 13:31, Vikram Singh Chandel wrote: Hi The requirement is to get the hbase table size (using API) and have to save this size for e