You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2023/10/06 13:59:27 UTC

[hbase] branch branch-2 updated: HBASE-22138 Undo our direct dependence on protos in google.protobuf.Any in Procedure.proto (#5411)

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

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 960df9debf0 HBASE-22138 Undo our direct dependence on protos in google.protobuf.Any in Procedure.proto (#5411)
960df9debf0 is described below

commit 960df9debf02bc8a27e8eb1374e6f4f429833cc1
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Fri Oct 6 21:45:21 2023 +0800

    HBASE-22138 Undo our direct dependence on protos in google.protobuf.Any in Procedure.proto (#5411)
    
    Bump the hbase thirdparty dependency to 4.1.5 where we relocated the proto files in protobuf-java jar
    The generated protobuf messages are OK since we do not need to change any non generated java code
    
    Signed-off-by: Nick Dimiduk <nd...@apache.org>
    Signed-off-by: Nihal Jain <ni...@apache.org>
    (cherry picked from commit eb24001248304e53c6383f309fbfc00a8437b3a1)
---
 hbase-protocol-shaded/src/main/protobuf/Procedure.proto | 2 +-
 pom.xml                                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hbase-protocol-shaded/src/main/protobuf/Procedure.proto b/hbase-protocol-shaded/src/main/protobuf/Procedure.proto
index c41330729f4..b588f3b954b 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Procedure.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Procedure.proto
@@ -24,7 +24,7 @@ option java_generic_services = true;
 option java_generate_equals_and_hash = true;
 option optimize_for = SPEED;
 
-import "google/protobuf/any.proto";
+import "org/apache/hbase/thirdparty/google/protobuf/any.proto";
 import "ErrorHandling.proto";
 
 enum ProcedureState {
diff --git a/pom.xml b/pom.xml
index 57cd075e7b8..3b3f57f52b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -647,7 +647,7 @@
     <snappy.version>1.1.10.4</snappy.version>
     <xz.version>1.9</xz.version>
     <zstd-jni.version>1.5.5-2</zstd-jni.version>
-    <hbase-thirdparty.version>4.1.4</hbase-thirdparty.version>
+    <hbase-thirdparty.version>4.1.5</hbase-thirdparty.version>
     <!-- Coverage properties -->
     <jacoco.version>0.8.8</jacoco.version>
     <jacocoArgLine/>