vaijosh commented on code in PR #3021:
URL: https://github.com/apache/hugegraph/pull/3021#discussion_r3249182114
##########
hugegraph-server/hugegraph-hbase/pom.xml:
##########
@@ -27,24 +27,49 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>hugegraph-hbase</artifactId>
-
+ <properties>
+ <hbase.version>2.6.5</hbase.version>
+ </properties>
<dependencies>
<dependency>
<groupId>org.apache.hugegraph</groupId>
<artifactId>hugegraph-core</artifactId>
<version>${revision}</version>
</dependency>
+ <!--
+ hbase-endpoint must come before hbase-shaded-client so that the
+ unshaded LongColumnInterpreter (using com.google.protobuf) is on
+ the classpath ahead of the shaded variant, allowing
AggregationClient
+ rowCount() generic bounds to resolve correctly.
+ -->
<dependency>
- <groupId>com.baidu.hugegraph</groupId>
- <artifactId>hbase-shaded-endpoint</artifactId>
- <version>2.0.6</version>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-endpoint</artifactId>
+ <version>${hbase.version}</version>
<exclusions>
<exclusion>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-server</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-common</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-hdfs</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-mapreduce-client-core</artifactId>
</exclusion>
</exclusions>
Review Comment:
Confirmed aggregation paths (count, max) work on a live HBase cluster
without hbase-server. Arthas traces verify that the hbase-endpoint coprocessors
are being called correctly and performance remains optimized.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]