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>
This commit is contained in:
Nick Dimiduk 2021-12-06 12:14:02 -08:00 committed by Nick Dimiduk
parent 8f5a12f794
commit c93e4572c1
9 changed files with 9 additions and 0 deletions

View File

@ -16,6 +16,7 @@
* limitations under the License.
*/
syntax = "proto2";
package hbase.test.pb;
// Coprocessor test
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";

View File

@ -16,6 +16,7 @@
* limitations under the License.
*/
syntax = "proto2";
package hbase.test.pb;
// Coprocessor test
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";

View File

@ -16,6 +16,7 @@
* limitations under the License.
*/
syntax = "proto2";
package hbase.test.pb;
// Coprocessor test
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";

View File

@ -16,6 +16,7 @@
* limitations under the License.
*/
syntax = "proto2";
package hbase.test.pb;
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";
option java_outer_classname = "IncrementCounterProcessorTestProtos";

View File

@ -17,6 +17,7 @@
*/
// Coprocessor test
syntax = "proto2";
package hbase.test.pb;
option java_package = "org.apache.hadoop.hbase.shaded.coprocessor.protobuf.generated";
option java_outer_classname = "PingProtos";
option java_generic_services = true;

View File

@ -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;

View File

@ -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;

View File

@ -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";

View File

@ -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;