Skip to content

Commit

Permalink
HBASE-26542 Apply a package to test protobuf files
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ndimiduk committed Dec 15, 2021
1 parent 8f5a12f commit c93e457
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c93e457

Please sign in to comment.