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:
parent
0866975238
commit
d7c3720e52
|
@ -16,6 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
package hbase.test.pb;
|
||||||
|
|
||||||
// Coprocessor test
|
// Coprocessor test
|
||||||
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
package hbase.test.pb;
|
||||||
|
|
||||||
// Coprocessor test
|
// Coprocessor test
|
||||||
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
package hbase.test.pb;
|
||||||
|
|
||||||
// Coprocessor test
|
// Coprocessor test
|
||||||
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
package hbase.test.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
||||||
option java_outer_classname = "IncrementCounterProcessorTestProtos";
|
option java_outer_classname = "IncrementCounterProcessorTestProtos";
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
package hbase.test.pb;
|
||||||
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
||||||
option java_outer_classname = "ShellExecEndpoint";
|
option java_outer_classname = "ShellExecEndpoint";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
package hbase.test.pb;
|
||||||
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
|
||||||
option java_outer_classname = "TestProcedureProtos";
|
option java_outer_classname = "TestProcedureProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
package hbase.test.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
|
||||||
option java_outer_classname = "TestProtos";
|
option java_outer_classname = "TestProtos";
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
package hbase.test.pb;
|
||||||
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
|
||||||
option java_outer_classname = "TestRpcServiceProtos";
|
option java_outer_classname = "TestRpcServiceProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
|
||||||
|
package hbase.test.pb;
|
||||||
// Coprocessor test
|
// Coprocessor test
|
||||||
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
|
||||||
option java_outer_classname = "PingProtos";
|
option java_outer_classname = "PingProtos";
|
||||||
|
|
Loading…
Reference in New Issue