hbase
第一步:創(chuàng)建表helloworld
第二步:實(shí)現(xiàn)方法:

第三步:打包
第四步:hbase shell 針對(duì)helloworld表alter
先disable 'helloworld'
再執(zhí)行:alter 'helloworld', METHOD => 'table_att', 'coprocessor' => '/tmp/helloworld/helloworld-1.0-SNAPSHOT.jar|HelloWorld||'
/tmp/helloworld/helloworld-1.0-SNAPSHOT.jar? jar包在hdfs的路徑
HelloWorld? 類名
最后一步:enable 'helloworld'
