Thanks for taking a look, Jaanai!
Is my method of installing HBase and Phoenix correct? See
https://github.com/Boostport/hbase-phoenix-all-in-one/blob/master/Dockerfile#L12
Is this a compatibility issue with Guava?
Francis
On 25/09/2018 10:21 PM, Jaanai Zhang wrote:
>
> org.apache.phoenix.hbase.index.covered.data.IndexMemStore$1 overrides
> final method
> compare.(Lorg/apache/hadoop/hbase/Cell;Lorg/apache/hadoop/hbase/Cell;)I
> at java.lang.ClassLoader.defineClass1(Native Method)
> at
After some investigation, I found that Phoenix 5.0.0 is only compatible
with HBase 2.0.0.
In 2.0.1 and onward, compare(final Cell a, final Cell b) in
CellComparatorImpl was changed to final:
Thank you for your help!
I am not very familiar with Java, but here's what I did:
- "echo $CLASSPATH" did not return anything.
I then tried the following:
- export HBASE_CP=/opt/hbase/lib
- export HBASE_CONF_DIR=/opt/hbase/conf
- export HBASE_HOME=/opt/hbase
- /opt/hbase/bin/tephra classpath
>
>
> Is my method of installing HBase and Phoenix correct?
>
Did you check versions of HBase that exists in your classpath?
Is this a compatibility issue with Guava?
It isn't an exception which incompatible with Guava
Jaanai Zhang
Best regards!
Hi All,
I recently updated one of my Go apps to use Phoenix 5.0 with HBase
2.0.2. I am using my Phoenix + HBase all in one docker image available
here: https://github.com/Boostport/hbase-phoenix-all-in-one
This is the log/output from the exception:
RuntimeException:
Your assumptions are not unreasonable :) Phoenix 5.0.x should certainly
work with HBase 2.0.x. Glad to see that it's been corrected already
(embarassing that I don't even remember reviewing this).
Let me start a thread on dev@phoenix about a 5.0.1 or a 5.1.0. We need
to have a Phoenix 5.x