Skip to content

Commit c93e457

Browse files
committed
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 <zhangduo@apache.org>
1 parent 8f5a12f commit c93e457

9 files changed

+9
-0
lines changed

hbase-protocol-shaded/src/main/protobuf/test/coprocessor/ColumnAggregationNullResponseProtocol.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818
syntax = "proto2";
19+
package hbase.test.pb;
1920

2021
// Coprocessor test
2122
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";

hbase-protocol-shaded/src/main/protobuf/test/coprocessor/ColumnAggregationProtocol.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818
syntax = "proto2";
19+
package hbase.test.pb;
1920

2021
// Coprocessor test
2122
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";

hbase-protocol-shaded/src/main/protobuf/test/coprocessor/ColumnAggregationWithErrorsProtocol.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818
syntax = "proto2";
19+
package hbase.test.pb;
1920

2021
// Coprocessor test
2122
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";

hbase-protocol-shaded/src/main/protobuf/test/coprocessor/IncrementCounterProcessor.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818
syntax = "proto2";
19+
package hbase.test.pb;
1920

2021
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";
2122
option java_outer_classname = "IncrementCounterProcessorTestProtos";

hbase-protocol-shaded/src/main/protobuf/test/coprocessor/PingProtocol.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818
// Coprocessor test
1919
syntax = "proto2";
20+
package hbase.test.pb;
2021
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";
2122
option java_outer_classname = "PingProtos";
2223
option java_generic_services = true;

hbase-protocol-shaded/src/main/protobuf/test/coprocessor/ShellExecEndpoint.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
*/
2222

2323
syntax = "proto2";
24+
package hbase.test.pb;
2425
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
2526
option java_outer_classname = "ShellExecEndpoint";
2627
option java_generic_services = true;

hbase-protocol-shaded/src/main/protobuf/test/ipc/TestProcedure.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818
syntax = "proto2";
19+
package hbase.test.pb;
1920
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
2021
option java_outer_classname = "TestProcedureProtos";
2122
option java_generic_services = true;

hbase-protocol-shaded/src/main/protobuf/test/ipc/test.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818
syntax = "proto2";
19+
package hbase.test.pb;
1920

2021
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
2122
option java_outer_classname = "TestProtos";

hbase-protocol-shaded/src/main/protobuf/test/ipc/test_rpc_service.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818
syntax = "proto2";
19+
package hbase.test.pb;
1920
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
2021
option java_outer_classname = "TestRpcServiceProtos";
2122
option java_generic_services = true;

0 commit comments

Comments
 (0)