Skip to content

Instantly share code, notes, and snippets.

@zzztimbo
zzztimbo / cellcounter.rb
Created July 30, 2011 00:11 — forked from noomerikal/cellcounter.rb
CellCounter for HBase Scan with TimeRange
=begin
Usage: /bin/hbase shell cellcounter.rb
=end
import java.text.SimpleDateFormat
import java.text.ParsePosition
import java.util.Date
import org.apache.hadoop.hbase.client.HTable
import org.apache.hadoop.hbase.client.Scan