You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2017/09/22 23:36:25 UTC
hbase git commit: HBASE-18866 clean up warnings about proto syntax
Repository: hbase
Updated Branches:
refs/heads/master b27f9b582 -> b4830466d
HBASE-18866 clean up warnings about proto syntax
Signed-off-by: Michael Stack <st...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b4830466
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b4830466
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b4830466
Branch: refs/heads/master
Commit: b4830466dbd606ddaf7cc6c87f8eae7141905827
Parents: b27f9b5
Author: Sean Busbey <bu...@apache.org>
Authored: Fri Sep 22 15:35:47 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Fri Sep 22 18:36:08 2017 -0500
----------------------------------------------------------------------
hbase-protocol-shaded/src/main/protobuf/AccessControl.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/Admin.proto | 2 +-
hbase-protocol-shaded/src/main/protobuf/Backup.proto | 4 ++--
hbase-protocol-shaded/src/main/protobuf/Cell.proto | 2 +-
hbase-protocol-shaded/src/main/protobuf/Client.proto | 2 +-
hbase-protocol-shaded/src/main/protobuf/ClusterId.proto | 2 +-
hbase-protocol-shaded/src/main/protobuf/ClusterStatus.proto | 2 +-
hbase-protocol-shaded/src/main/protobuf/Comparator.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/Encryption.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/ErrorHandling.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/FS.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/Filter.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/HBase.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/HFile.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/LoadBalancer.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/LockService.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/MapReduce.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/Master.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/MasterProcedure.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/Procedure.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/Quota.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/RPC.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/RegionNormalizer.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/RegionServerStatus.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/Replication.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/Snapshot.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/Tracing.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/WAL.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/ZooKeeper.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/test.proto | 1 +
hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto | 1 +
32 files changed, 33 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/AccessControl.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/AccessControl.proto b/hbase-protocol-shaded/src/main/protobuf/AccessControl.proto
index 39143e2..3b0e9bb 100644
--- a/hbase-protocol-shaded/src/main/protobuf/AccessControl.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/AccessControl.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Admin.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Admin.proto b/hbase-protocol-shaded/src/main/protobuf/Admin.proto
index 62aac9a..dc4e324 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Admin.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Admin.proto
@@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax = "proto2";
// This file contains protocol buffers that are used for Admin service.
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Backup.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Backup.proto b/hbase-protocol-shaded/src/main/protobuf/Backup.proto
index 241d42a..6084e17 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Backup.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Backup.proto
@@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax = "proto2";
// This file contains Backup manifest
package hbase.pb;
@@ -114,4 +114,4 @@ message BackupInfo {
INCREMENTAL_COPY = 4;
STORE_MANIFEST = 5;
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Cell.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Cell.proto b/hbase-protocol-shaded/src/main/protobuf/Cell.proto
index 82c960f..0e9eb94 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Cell.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Cell.proto
@@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax = "proto2";
// Cell and KeyValue protos
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Client.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Client.proto b/hbase-protocol-shaded/src/main/protobuf/Client.proto
index 14d2b4c..e5c843f 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Client.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Client.proto
@@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax = "proto2";
// This file contains protocol buffers that are used for Client service.
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/ClusterId.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/ClusterId.proto b/hbase-protocol-shaded/src/main/protobuf/ClusterId.proto
index a69b09e..d452aa5 100644
--- a/hbase-protocol-shaded/src/main/protobuf/ClusterId.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/ClusterId.proto
@@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax = "proto2";
// This file contains protocol buffers that are shared throughout HBase
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/ClusterStatus.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/ClusterStatus.proto b/hbase-protocol-shaded/src/main/protobuf/ClusterStatus.proto
index 52fcc3e..2fb221b 100644
--- a/hbase-protocol-shaded/src/main/protobuf/ClusterStatus.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/ClusterStatus.proto
@@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax = "proto2";
// This file contains protocol buffers that are used for ClustStatus
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Comparator.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Comparator.proto b/hbase-protocol-shaded/src/main/protobuf/Comparator.proto
index 5e1e2da..822fd2b 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Comparator.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Comparator.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// This file contains protocol buffers that are used for filters
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Encryption.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Encryption.proto b/hbase-protocol-shaded/src/main/protobuf/Encryption.proto
index d9ad575..d0b445c 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Encryption.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Encryption.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// This file contains protocol buffers used for encryption
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/ErrorHandling.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/ErrorHandling.proto b/hbase-protocol-shaded/src/main/protobuf/ErrorHandling.proto
index b08b3b3..367fd85 100644
--- a/hbase-protocol-shaded/src/main/protobuf/ErrorHandling.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/ErrorHandling.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// This file contains protocol buffers that are used for error handling
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/FS.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/FS.proto b/hbase-protocol-shaded/src/main/protobuf/FS.proto
index 2ef59e2..f32aa04 100644
--- a/hbase-protocol-shaded/src/main/protobuf/FS.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/FS.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// This file contains protocol buffers that are written into the filesystem
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Filter.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Filter.proto b/hbase-protocol-shaded/src/main/protobuf/Filter.proto
index 39a7d51..7434985 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Filter.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Filter.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// This file contains protocol buffers that are used for filters
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/HBase.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/HBase.proto b/hbase-protocol-shaded/src/main/protobuf/HBase.proto
index 10742ad..9de897a 100644
--- a/hbase-protocol-shaded/src/main/protobuf/HBase.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/HBase.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// This file contains protocol buffers that are shared throughout HBase
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/HFile.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/HFile.proto b/hbase-protocol-shaded/src/main/protobuf/HFile.proto
index c88ef17..33f89a2 100644
--- a/hbase-protocol-shaded/src/main/protobuf/HFile.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/HFile.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/LoadBalancer.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/LoadBalancer.proto b/hbase-protocol-shaded/src/main/protobuf/LoadBalancer.proto
index 857d2b6..2a75ca4 100644
--- a/hbase-protocol-shaded/src/main/protobuf/LoadBalancer.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/LoadBalancer.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// This file contains protocol buffers to represent the state of the load balancer.
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/LockService.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/LockService.proto b/hbase-protocol-shaded/src/main/protobuf/LockService.proto
index 567dee7..b8d180c 100644
--- a/hbase-protocol-shaded/src/main/protobuf/LockService.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/LockService.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/MapReduce.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/MapReduce.proto b/hbase-protocol-shaded/src/main/protobuf/MapReduce.proto
index 26bade5..2496fa7 100644
--- a/hbase-protocol-shaded/src/main/protobuf/MapReduce.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/MapReduce.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
//This file includes protocol buffers used in MapReduce only.
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Master.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Master.proto b/hbase-protocol-shaded/src/main/protobuf/Master.proto
index 6b16bf8..0a13e22 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Master.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Master.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// All to do with the Master. Includes schema management since these
// changes are run by the Master process.
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/MasterProcedure.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/MasterProcedure.proto b/hbase-protocol-shaded/src/main/protobuf/MasterProcedure.proto
index 70753c6..2cdebb1 100644
--- a/hbase-protocol-shaded/src/main/protobuf/MasterProcedure.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/MasterProcedure.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Procedure.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Procedure.proto b/hbase-protocol-shaded/src/main/protobuf/Procedure.proto
index c13a37e..2c5f1aa 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Procedure.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Procedure.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Quota.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Quota.proto b/hbase-protocol-shaded/src/main/protobuf/Quota.proto
index 0d74435..cd4c7df 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Quota.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Quota.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/RPC.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/RPC.proto b/hbase-protocol-shaded/src/main/protobuf/RPC.proto
index 9cdf98c..1ccf6e8 100644
--- a/hbase-protocol-shaded/src/main/protobuf/RPC.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/RPC.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
import "Tracing.proto";
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/RegionNormalizer.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/RegionNormalizer.proto b/hbase-protocol-shaded/src/main/protobuf/RegionNormalizer.proto
index ed7a9ec..c5a1d41 100644
--- a/hbase-protocol-shaded/src/main/protobuf/RegionNormalizer.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/RegionNormalizer.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// This file contains protocol buffers to represent the state of the load balancer.
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/RegionServerStatus.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/RegionServerStatus.proto b/hbase-protocol-shaded/src/main/protobuf/RegionServerStatus.proto
index 7d35df0..1cd4376 100644
--- a/hbase-protocol-shaded/src/main/protobuf/RegionServerStatus.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/RegionServerStatus.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// This file contains protocol buffers that are used for RegionServerStatusProtocol.
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Replication.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Replication.proto b/hbase-protocol-shaded/src/main/protobuf/Replication.proto
index 4cb4436..7e78144 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Replication.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Replication.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Snapshot.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Snapshot.proto b/hbase-protocol-shaded/src/main/protobuf/Snapshot.proto
index 595a8cf..479e33e 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Snapshot.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Snapshot.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto b/hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto
index 1b21e8e..e927e4b 100644
--- a/hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/TestProcedure.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
option java_outer_classname = "TestProcedureProtos";
option java_generic_services = true;
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/Tracing.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/Tracing.proto b/hbase-protocol-shaded/src/main/protobuf/Tracing.proto
index 3ec10a8..64ead84 100644
--- a/hbase-protocol-shaded/src/main/protobuf/Tracing.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/Tracing.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/WAL.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/WAL.proto b/hbase-protocol-shaded/src/main/protobuf/WAL.proto
index 81e5650..08d4741 100644
--- a/hbase-protocol-shaded/src/main/protobuf/WAL.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/WAL.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
package hbase.pb;
option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/ZooKeeper.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/ZooKeeper.proto b/hbase-protocol-shaded/src/main/protobuf/ZooKeeper.proto
index fcf9bf5..9d3d173 100644
--- a/hbase-protocol-shaded/src/main/protobuf/ZooKeeper.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/ZooKeeper.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
// ZNode data in hbase are serialized protobufs with a four byte
// 'magic' 'PBUF' prefix.
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/test.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/test.proto b/hbase-protocol-shaded/src/main/protobuf/test.proto
index 647fafe..5101644 100644
--- a/hbase-protocol-shaded/src/main/protobuf/test.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/test.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
option java_outer_classname = "TestProtos";
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4830466/hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto b/hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto
index 51472db..03ac385 100644
--- a/hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto
+++ b/hbase-protocol-shaded/src/main/protobuf/test_rpc_service.proto
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+syntax = "proto2";
option java_package = "org.apache.hadoop.hbase.shaded.ipc.protobuf.generated";
option java_outer_classname = "TestRpcServiceProtos";
option java_generic_services = true;