Google Cloud Bigtable coprocessor support
Asked Answered
K

1

8

Google Cloud BigTable doesn't support coprocessors:

Coprocessors are not supported. You cannot create classes that implement the interface org.apache.hadoop.hbase.coprocessor.

https://cloud.google.com/bigtable/docs/hbase-differences

I can understand that coprocessors require deployment of customer code (jars) on each Tablet (RS) node. Still, Endpoint coprocessors are vital to HBase applications to ensure data locality in some scenarios. HBase extensions such as Apache Phoenix rely on Observer coprocessors for maintaining secondary indexes, so lack of coprocessor support looks like a major area of incompatibility to me.

Is Coprocessor support possible in the future and what workarounds exist for executing custom Java "stored procedures" on BigTable Tablets?

UPDATE 1: List of Apache Phoenix coprosessors:

  • GroupedAggregateRegionObserver
  • Indexer
  • MetaDataEndpointImpl
  • MetaDataRegionObserver
  • ScanRegionObserver
  • SequenceRegionObserver
  • ServerCachingEndpointImpl
  • UngroupedAggregateRegionObserver
Klehm answered 7/5, 2015 at 5:54 Comment(4)
Why a downvote on this question? The policy says "Use your downvotes whenever you encounter an egregiously sloppy, no-effort-expended post". There's really not much hosted BigTable information out there.Klehm
This is a good question for the [email protected] list. But I will forward it to the team.Mccune
@Les Thank you. I signed up for that list a day ago so I'm watching it too. Aside from Phoenix (SQL layer on top of HBase), our own co-processors mostly perform a set of additional deletions and compactions (lossless and lossy compression). We're leaning toward developing MapReduce jobs that perform the same task so we could run M/R jobs on BigTable cluster as described in documentation.Klehm
As I understand it, we are unlikely to support custom co-processors, but it may be possible for us to support specific general functionality -- though no promises as to when. The place to express your needs is the discussion list.Mccune
K
2

Custom co-processors are not supported as of June 1, 2015.

Klehm answered 1/6, 2015 at 10:8 Comment(1)
Still true as of September 15, 2017.Bregenz

© 2022 - 2024 — McMap. All rights reserved.