Created
March 19, 2013 14:32
-
-
Save sankars/5196613 to your computer and use it in GitHub Desktop.
Pig script to fetch data from hbase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = LOAD 'hbase://Customer' using org.apache.pig.backend.hadoop.hbase.HBaseStorage('D:N','-loadKey=true') as (key:chararray,name:chararray); | |
b = order a by name parallel 1; | |
dump b; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment