Some Hbase questions

2013-05-19 Thread Vivek Padmanabhan
Hi, I am pretty new to HBase so it would be great if someone could help me out with my below queries; (Ours is a time series data and all the queries will be range scan on composite row keys) a) What is the usual practice of storing data types. We have noticed that converting

Re: Some Hbase questions

2013-05-19 Thread Ted Yu
For #b, take a look at src/main/java/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.java in 0.94 It supports avg, max, min and sum operations through calling coprocessors. Here is snippet from its javadoc: * This client class is for invoking the aggregate functions deployed on the

Re: Some Hbase questions

2013-05-19 Thread James Taylor
Hi Vivek, Take a look at the SQL skin for HBase called Phoenix (https://github.com/forcedotcom/phoenix). Instead of using the native HBase client, you use regular JDBC and Phoenix takes care of making the native HBase calls for you. We support composite row keys, so you could form your row