Ping? 2012/8/28 某因幡 <[email protected]>: > Thanks for your quick reply. > The co-processor looks like: > public void postGet(final ObserverContext<RegionCoprocessorEnvironment> e, > final Get get, final List<KeyValue> results) > { > if table is X > get some columns from table Y > add these columns to results > } > And similar for postScannerNext(). > This works in HBase JRuby shell using get/scan plus heavy performance loss. > > And the versions are: > Hadoop 1.0.3 > HBase 0.92.1 > Pig 0.9.2 > > > 2012/8/27 Ted Yu <[email protected]>: >> Allow me to refer to previous discussion: >> http://mail-archives.apache.org/mod_mbox/hbase-user/201203.mbox/%3CCABsY1jQ8+OiLh7SYkXZ8iO=nosy8khz7iys+6w4u6sxcpj5...@mail.gmail.com%3E >> >> If the above doesn't answer your question, please give us more details >> about the versions of HBase and PIG you're using. >> >> On Mon, Aug 27, 2012 at 3:42 AM, 某因幡 <[email protected]> wrote: >> >>> Hi, >>> I've created a co-processor which will insert more columns in the >>> result by overriding preGet and postScannerNext. >>> And it is registered as a system co-processor, works with hbase shell, >>> both get and scan. >>> When I tried to access those columns in PIG, it simply returns null >>> for the column. >>> Is there something more to be done? >>> >>> >>> -- >>> language: Chinese, Japanese, English >>> > > > > -- > language: Chinese, Japanese, English
-- language: Chinese, Japanese, English
