This is an automated email from the ASF dual-hosted git repository.

vgalaxies pushed a commit to branch pd-store
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git


The following commit(s) were added to refs/heads/pd-store by this push:
     new 499f8e74b fix(server): starting error of server (#2419)
499f8e74b is described below

commit 499f8e74b5ee8c4c91950ffd2e0c8e7e8571780d
Author: Peng Junzhi <[email protected]>
AuthorDate: Wed Jan 17 22:15:26 2024 -0600

    fix(server): starting error of server (#2419)
    
    1. When starting hugegrpah-server in idea, we will encounter an error: 
`java.lang.ClassNotFoundException: io.grpc.stub.AbstractBlockingStub`. We 
should remove the `<scope>` line in pom to avoid that.
    
    2. Add dependency support for arm-architecture machine
---
 .../scripts/dependency/known-dependencies.txt      | 24 +++++++++++++++++-----
 hugegraph-server/pom.xml                           |  4 ++--
 pom.xml                                            |  2 ++
 3 files changed, 23 insertions(+), 7 deletions(-)

diff --git 
a/hugegraph-server/hugegraph-dist/scripts/dependency/known-dependencies.txt 
b/hugegraph-server/hugegraph-dist/scripts/dependency/known-dependencies.txt
index aafdea5ee..7cf6d2404 100644
--- a/hugegraph-server/hugegraph-dist/scripts/dependency/known-dependencies.txt
+++ b/hugegraph-server/hugegraph-dist/scripts/dependency/known-dependencies.txt
@@ -1,3 +1,5 @@
+HdrHistogram-2.1.9.jar
+ST4-4.0.8.jar
 accessors-smart-1.2.jar
 airline-0.8.jar
 animal-sniffer-annotations-1.19.jar
@@ -96,10 +98,12 @@ grpc-context-1.47.0.jar
 grpc-core-1.39.0.jar
 grpc-core-1.47.0.jar
 grpc-grpclb-1.39.0.jar
+grpc-netty-1.47.0.jar
 grpc-netty-shaded-1.39.0.jar
 grpc-netty-shaded-1.47.0.jar
 grpc-protobuf-1.39.0.jar
 grpc-protobuf-lite-1.39.0.jar
+grpc-stub-1.47.0.jar
 gson-2.8.9.jar
 guava-27.0-jre.jar
 guava-30.0-jre.jar
@@ -108,7 +112,6 @@ hamcrest-2.2.jar
 hamcrest-core-1.3.jar
 hanlp-portable-1.8.3.jar
 hbase-shaded-endpoint-2.0.6.jar
-HdrHistogram-2.1.9.jar
 hessian-3.3.6.jar
 hg-pd-client-1.5.0.1.jar
 hg-pd-common-1.5.0.1.jar
@@ -189,8 +192,8 @@ jersey-test-framework-core-3.0.3.jar
 jersey-test-framework-provider-grizzly2-3.0.3.jar
 jetcd-common-0.5.9.jar
 jetcd-core-0.5.9.jar
-jffi-1.2.16.jar
 jffi-1.2.16-native.jar
+jffi-1.2.16.jar
 jflex-1.8.2.jar
 jieba-analysis-1.0.2.jar
 jjwt-api-0.11.5.jar
@@ -252,7 +255,19 @@ mockito-core-3.3.3.jar
 mxdump-0.14.jar
 netty-all-4.1.44.Final.jar
 netty-all-4.1.61.Final.jar
+netty-buffer-4.1.72.Final.jar
+netty-codec-4.1.72.Final.jar
+netty-codec-http-4.1.72.Final.jar
+netty-codec-http2-4.1.72.Final.jar
+netty-codec-socks-4.1.72.Final.jar
+netty-common-4.1.72.Final.jar
+netty-handler-4.1.72.Final.jar
+netty-handler-proxy-4.1.72.Final.jar
+netty-resolver-4.1.72.Final.jar
 netty-tcnative-boringssl-static-2.0.36.Final.jar
+netty-tcnative-classes-2.0.46.Final.jar
+netty-transport-4.1.72.Final.jar
+netty-transport-native-unix-common-4.1.72.Final.jar
 nimbus-jose-jwt-4.41.2.jar
 nlp-lang-1.7.7.jar
 objenesis-2.6.jar
@@ -271,12 +286,12 @@ parser-9.0-9.0.20190305.jar
 perfmark-api-0.25.0.jar
 picocli-4.3.2.jar
 postgresql-42.4.3.jar
+proto-google-common-protos-2.0.1.jar
 protobuf-java-3.21.7.jar
 protobuf-java-util-3.17.2.jar
-proto-google-common-protos-2.0.1.jar
 psjava-0.1.19.jar
-reporter-config3-3.0.3.jar
 reporter-config-base-3.0.3.jar
+reporter-config3-3.0.3.jar
 rewriting-9.0-9.0.20190305.jar
 rocksdbjni-7.2.2.jar
 scala-java8-compat_2.12-0.8.0.jar
@@ -296,7 +311,6 @@ snowball-stemmer-1.3.0.581.1.jar
 sofa-common-tools-1.0.12.jar
 sofa-rpc-all-5.7.6.jar
 sourcecode_2.12-0.1.4.jar
-ST4-4.0.8.jar
 stream-2.5.2.jar
 swagger-annotations-1.5.18.jar
 swagger-annotations-jakarta-2.2.18.jar
diff --git a/hugegraph-server/pom.xml b/hugegraph-server/pom.xml
index d27db5ecf..c34df75e6 100644
--- a/hugegraph-server/pom.xml
+++ b/hugegraph-server/pom.xml
@@ -242,13 +242,13 @@
                 <groupId>io.grpc</groupId>
                 <artifactId>grpc-netty</artifactId>
                 <version>${grpc.version}</version>
-                <scope>provided</scope>
+<!--                <scope>provided</scope>-->
             </dependency>
             <dependency>
                 <groupId>io.grpc</groupId>
                 <artifactId>grpc-stub</artifactId>
                 <version>${grpc.version}</version>
-                <scope>provided</scope>
+<!--                <scope>provided</scope>-->
             </dependency>
             <dependency>
                 <groupId>com.google.protobuf</groupId>
diff --git a/pom.xml b/pom.xml
index aa39129c1..884649048 100644
--- a/pom.xml
+++ b/pom.xml
@@ -89,6 +89,8 @@
     </prerequisites>
 
     <properties>
+<!--        NOTE: Mac with M-series chip users can add this line below to 
avoid dependencies-resolving problems -->
+<!--        <os.detected.classifier>osx-x86_64</os.detected.classifier>-->
         <revision>1.5.0.1</revision>
     </properties>
 

Reply via email to