Skip to content

Instantly share code, notes, and snippets.

@sankars
Created August 12, 2013 11:29
Show Gist options
  • Save sankars/6210095 to your computer and use it in GitHub Desktop.
Save sankars/6210095 to your computer and use it in GitHub Desktop.
Jruby hbase shell script to generate sample data
for i in '0'..'9' do for j in '0'..'9' do \
for k in '0'..'9' do put 'testtable', "row-#{i}#{j}#{k}", \
"colfam1:#{j}#{k}", "#{j}#{k}" end end end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment