Closed vim89 closed 4 years ago
Apolgies for commenting late, I had found the solution already. But forgot to check-in the fix in my forked version of source.
For the NoClassDefFoundError, it was dependencies compatibility issue. During packaging, all the sources & dependencies must be compatible with each other, and compiled with identical versions of Scala, Java etc.
And actually, there was a bug which was causing this API not supporting if used with Google Big Table. Basically HBase has Namespaces and Google Big Table do not.
I forked the latest version and fixed this bug / added enhancement in this API to support Google BigTable as well.
I had to create an if else branch for that based on "tabletype" argument passed to HBaseTableCatalog class. "tabletype" variable takes value "bigtable" by default value will be "hbase" if not explicitly specified.
Forked & Bug fixed version link - https://github.com/vim89/shc
The README file is updated, and usage of HBaseTableCatalog for Google BigTable is illustrated in README.md
Thank you a lot, it worked perfectly for me!
Guys,
Here's what I did -
If I have compiled SHC on my local, and if I want to use it in my spark job without obstacles like above, what should I do ? Where am I making mistake ?