HBASE-23971 protoc warns: "no protobuf syntax specified" (#1278)
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
26f3702735
commit
abf0a22259
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.coprocessor.example.generated";
|
option java_package = "org.apache.hadoop.hbase.coprocessor.example.generated";
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// 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 = "ColumnAggregationWithNullResponseProtos";
|
option java_outer_classname = "ColumnAggregationWithNullResponseProtos";
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// 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 = "ColumnAggregationProtos";
|
option java_outer_classname = "ColumnAggregationProtos";
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// 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 = "ColumnAggregationWithErrorsProtos";
|
option java_outer_classname = "ColumnAggregationWithErrorsProtos";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.test.pb;
|
package hbase.test.pb;
|
||||||
|
|
||||||
// Coprocessor test
|
// Coprocessor test
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
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";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.coprocessor.example.generated";
|
option java_package = "org.apache.hadoop.hbase.coprocessor.example.generated";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers that are used for Admin service.
|
// This file contains protocol buffers that are used for Admin service.
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// Cell and KeyValue protos
|
// Cell and KeyValue protos
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers that are used for Client service.
|
// This file contains protocol buffers that are used for Client service.
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers that are shared throughout HBase
|
// This file contains protocol buffers that are shared throughout HBase
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers that are used for ClustStatus
|
// This file contains protocol buffers that are used for ClustStatus
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers that are used for filters
|
// This file contains protocol buffers that are used for filters
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers used for encryption
|
// This file contains protocol buffers used for encryption
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers that are used for error handling
|
// This file contains protocol buffers that are used for error handling
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers that are written into the filesystem
|
// This file contains protocol buffers that are written into the filesystem
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers that are used for filters
|
// This file contains protocol buffers that are used for filters
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers that are shared throughout HBase
|
// This file contains protocol buffers that are shared throughout HBase
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// This file contains protocol buffers to represent the state of the load balancer.
|
// This file contains protocol buffers to represent the state of the load balancer.
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
//This file includes protocol buffers used in MapReduce only.
|
//This file includes protocol buffers used in MapReduce only.
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
import "Client.proto";
|
import "Client.proto";
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// 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";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
import "Tracing.proto";
|
import "Tracing.proto";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a protocol to perform multi row transactions.
|
* Defines a protocol to perform multi row transactions.
|
||||||
* See BaseRowProcessorEndpoint for the implementation.
|
* See BaseRowProcessorEndpoint for the implementation.
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.ipc.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.ipc.protobuf.generated";
|
||||||
option java_outer_classname = "TestProcedureProtos";
|
option java_outer_classname = "TestProcedureProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package hbase.pb;
|
package hbase.pb;
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.protobuf.generated";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
// ZNode data in hbase are serialized protobufs with a four byte
|
// ZNode data in hbase are serialized protobufs with a four byte
|
||||||
// 'magic' 'PBUF' prefix.
|
// 'magic' 'PBUF' prefix.
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.ipc.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.ipc.protobuf.generated";
|
||||||
option java_outer_classname = "TestProtos";
|
option java_outer_classname = "TestProtos";
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
option java_package = "org.apache.hadoop.hbase.ipc.protobuf.generated";
|
option java_package = "org.apache.hadoop.hbase.ipc.protobuf.generated";
|
||||||
option java_outer_classname = "TestRpcServiceProtos";
|
option java_outer_classname = "TestRpcServiceProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
message Cell {
|
message Cell {
|
||||||
|
|
|
@ -1,24 +1,25 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
import "CellMessage.proto";
|
import "CellMessage.proto";
|
||||||
|
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
|
||||||
|
|
||||||
message CellSet {
|
message CellSet {
|
||||||
message Row {
|
message Row {
|
||||||
required bytes key = 1;
|
required bytes key = 1;
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
message ColumnSchema {
|
message ColumnSchema {
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
message NamespaceProperties {
|
message NamespaceProperties {
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
message Namespaces {
|
message Namespaces {
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
message Scanner {
|
message Scanner {
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
message StorageClusterStatus {
|
message StorageClusterStatus {
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
message TableInfo {
|
message TableInfo {
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
message TableList {
|
message TableList {
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
import "ColumnSchemaMessage.proto";
|
import "ColumnSchemaMessage.proto";
|
||||||
|
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
//
|
/**
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
// regarding copyright ownership. The ASF licenses this file
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
// to you under the Apache License, Version 2.0 (the
|
* to you under the Apache License, Version 2.0 (the
|
||||||
// "License"); you may not use this file except in compliance
|
* "License"); you may not use this file except in compliance
|
||||||
// with the License. You may obtain a copy of the License at
|
* with the License. You may obtain a copy of the License at
|
||||||
//
|
*
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
*
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
syntax = "proto2";
|
||||||
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
package org.apache.hadoop.hbase.rest.protobuf.generated;
|
||||||
|
|
||||||
message Version {
|
message Version {
|
||||||
|
|
|
@ -29,6 +29,7 @@ import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
import org.apache.hadoop.conf.Configuration;
|
import org.apache.hadoop.conf.Configuration;
|
||||||
import org.apache.hadoop.hbase.AuthUtil;
|
import org.apache.hadoop.hbase.AuthUtil;
|
||||||
|
@ -64,7 +65,11 @@ public class TestUsersOperationsWithSecureHadoop {
|
||||||
private static String CLIENT_NAME;
|
private static String CLIENT_NAME;
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void setUp() throws Exception {
|
public static void destroyAndSetup() throws Exception {
|
||||||
|
//destroy localhost kerberos users
|
||||||
|
Process process = Runtime.getRuntime().exec(new String[]{"bash", "-c", "kdestroy"});
|
||||||
|
process.waitFor(2, TimeUnit.SECONDS);
|
||||||
|
// setup mini kdc
|
||||||
KDC = TEST_UTIL.setupMiniKdc(KEYTAB_FILE);
|
KDC = TEST_UTIL.setupMiniKdc(KEYTAB_FILE);
|
||||||
PRINCIPAL = "hbase/" + HOST;
|
PRINCIPAL = "hbase/" + HOST;
|
||||||
CLIENT_NAME = "foo";
|
CLIENT_NAME = "foo";
|
||||||
|
|
Loading…
Reference in New Issue