You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2021/12/16 00:30:29 UTC

[hbase] branch branch-2.5 updated: HBASE-26542 Apply a `package` to test protobuf files

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

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


The following commit(s) were added to refs/heads/branch-2.5 by this push:
     new f1add38  HBASE-26542 Apply a `package` to test protobuf files
f1add38 is described below

commit f1add382bd45311c217a2dcec662b2784fa51bb8
Author: Nick Dimiduk <nd...@apache.org>
AuthorDate: Mon Dec 6 12:14:02 2021 -0800

    HBASE-26542 Apply a `package` to test protobuf files
    
    This is needed in a couple places in order to test that traces over the IPC layer carry correct
    span names, and it's good hygiene anyway.
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
---
 .../src/main/protobuf/ColumnAggregationNullResponseProtocol.proto        | 1 +
 hbase-endpoint/src/main/protobuf/ColumnAggregationProtocol.proto         | 1 +
 .../src/main/protobuf/ColumnAggregationWithErrorsProtocol.proto          | 1 +
 hbase-endpoint/src/main/protobuf/IncrementCounterProcessor.proto         | 1 +
 hbase-endpoint/src/main/protobuf/ShellExecEndpoint.proto                 | 1 +
 hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto              | 1 +
 hbase-protocol-shaded/src/main/protobuf/test.proto                       | 1 +
 hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto           | 1 +
 hbase-protocol/src/main/protobuf/PingProtocol.proto                      | 1 +
 9 files changed, 9 insertions(+)

diff --git a/hbase-endpoint/src/main/protobuf/ColumnAggregationNullResponseProtocol.proto b/hbase-endpoint/src/main/protobuf/ColumnAggregationNullResponseProtocol.proto
index 36c03ee..7c620db 100644
--- a/hbase-endpoint/src/main/protobuf/ColumnAggregationNullResponseProtocol.proto
+++ b/hbase-endpoint/src/main/protobuf/ColumnAggregationNullResponseProtocol.proto
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 syntax = "proto2";
+package hbase.test.pb;
 
 // Coprocessor test
 option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
diff --git a/hbase-endpoint/src/main/protobuf/ColumnAggregationProtocol.proto b/hbase-endpoint/src/main/protobuf/ColumnAggregationProtocol.proto
index e7b301d..636337d 100644
--- a/hbase-endpoint/src/main/protobuf/ColumnAggregationProtocol.proto
+++ b/hbase-endpoint/src/main/protobuf/ColumnAggregationProtocol.proto
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 syntax = "proto2";
+package hbase.test.pb;
 
 // Coprocessor test
 option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
diff --git a/hbase-endpoint/src/main/protobuf/ColumnAggregationWithErrorsProtocol.proto b/hbase-endpoint/src/main/protobuf/ColumnAggregationWithErrorsProtocol.proto
index 04f0741..4e869ce 100644
--- a/hbase-endpoint/src/main/protobuf/ColumnAggregationWithErrorsProtocol.proto
+++ b/hbase-endpoint/src/main/protobuf/ColumnAggregationWithErrorsProtocol.proto
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 syntax = "proto2";
+package hbase.test.pb;
 
 // Coprocessor test
 option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
diff --git a/hbase-endpoint/src/main/protobuf/IncrementCounterProcessor.proto b/hbase-endpoint/src/main/protobuf/IncrementCounterProcessor.proto
index 64dce67..f3944e9 100644
--- a/hbase-endpoint/src/main/protobuf/IncrementCounterProcessor.proto
+++ b/hbase-endpoint/src/main/protobuf/IncrementCounterProcessor.proto
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 syntax = "proto2";
+package hbase.test.pb;
 
 option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
 option java_outer_classname = "IncrementCounterProcessorTestProtos";
diff --git a/hbase-endpoint/src/main/protobuf/ShellExecEndpoint.proto b/hbase-endpoint/src/main/protobuf/ShellExecEndpoint.proto
index 96c72da..fdc890e 100644
--- a/hbase-endpoint/src/main/protobuf/ShellExecEndpoint.proto
+++ b/hbase-endpoint/src/main/protobuf/ShellExecEndpoint.proto
@@ -21,6 +21,7 @@
  */
 
 syntax = "proto2";
+package hbase.test.pb;
 option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
 option java_outer_classname = "ShellExecEndpoint";
 option java_generic_services = true;
diff --git a/hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto b/hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto
index e927e4b..5f031ad 100644
--- a/hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 syntax = "proto2";
+package hbase.test.pb;
 option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
 option java_outer_classname = "TestProcedureProtos";
 option java_generic_services = true;
diff --git a/hbase-protocol-shaded/src/main/protobuf/test.proto b/hbase-protocol-shaded/src/main/protobuf/test.proto
index 5101644..7b342ea 100644
--- a/hbase-protocol-shaded/src/main/protobuf/test.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/test.proto
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 syntax = "proto2";
+package hbase.test.pb;
 
 option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
 option java_outer_classname = "TestProtos";
diff --git a/hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto b/hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto
index 03ac385..e785d16 100644
--- a/hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 syntax = "proto2";
+package hbase.test.pb;
 option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
 option java_outer_classname = "TestRpcServiceProtos";
 option java_generic_services = true;
diff --git a/hbase-protocol/src/main/protobuf/PingProtocol.proto b/hbase-protocol/src/main/protobuf/PingProtocol.proto
index 9a64599..3272198 100644
--- a/hbase-protocol/src/main/protobuf/PingProtocol.proto
+++ b/hbase-protocol/src/main/protobuf/PingProtocol.proto
@@ -17,6 +17,7 @@
  */
 syntax = "proto2";
 
+package hbase.test.pb;
 // Coprocessor test
 option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
 option java_outer_classname = "PingProtos";