Another option is to use Apache Phoenix and let it do these things for you:
    CREATE TABLE my_table(
        intField INTEGER,
        strField VARCHAR,
        CONSTRAINT pk PRIMARY KEY (intField DESC, strField));

On Thu, Mar 27, 2014 at 1:24 AM, Li Li <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB