This is an automated email from the ASF dual-hosted git repository.
msingh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 4e8aec5 HDDS-5406. add proto version to all the proto files. (#2385)
4e8aec5 is described below
commit 4e8aec5857f393f11c8a31139061631a67456fbe
Author: Mukul Kumar Singh <[email protected]>
AuthorDate: Tue Jul 6 10:18:24 2021 +0530
HDDS-5406. add proto version to all the proto files. (#2385)
---
hadoop-hdds/interface-admin/src/main/proto/ScmAdminProtocol.proto | 2 +-
hadoop-hdds/interface-client/src/main/proto/hdds.proto | 2 +-
hadoop-hdds/interface-server/src/main/proto/SCMRatisProtocol.proto | 2 +-
.../src/main/proto/ScmServerDatanodeHeartbeatProtocol.proto | 1 +
hadoop-hdds/interface-server/src/main/proto/ScmServerProtocol.proto | 2 +-
.../interface-server/src/main/proto/ScmServerSecurityProtocol.proto | 1 +
hadoop-ozone/interface-client/src/main/proto/Security.proto | 1 +
7 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/hadoop-hdds/interface-admin/src/main/proto/ScmAdminProtocol.proto
b/hadoop-hdds/interface-admin/src/main/proto/ScmAdminProtocol.proto
index d67dce9..a7a1be3 100644
--- a/hadoop-hdds/interface-admin/src/main/proto/ScmAdminProtocol.proto
+++ b/hadoop-hdds/interface-admin/src/main/proto/ScmAdminProtocol.proto
@@ -21,7 +21,7 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *unstable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.hdds.protocol.proto";
option java_outer_classname = "StorageContainerLocationProtocolProtos";
option java_generic_services = true;
diff --git a/hadoop-hdds/interface-client/src/main/proto/hdds.proto
b/hadoop-hdds/interface-client/src/main/proto/hdds.proto
index c441db6..6956d79 100644
--- a/hadoop-hdds/interface-client/src/main/proto/hdds.proto
+++ b/hadoop-hdds/interface-client/src/main/proto/hdds.proto
@@ -21,7 +21,7 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for an *unstable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.hdds.protocol.proto";
option java_outer_classname = "HddsProtos";
option java_generic_services = true;
diff --git a/hadoop-hdds/interface-server/src/main/proto/SCMRatisProtocol.proto
b/hadoop-hdds/interface-server/src/main/proto/SCMRatisProtocol.proto
index b9d3941..8066c8b 100644
--- a/hadoop-hdds/interface-server/src/main/proto/SCMRatisProtocol.proto
+++ b/hadoop-hdds/interface-server/src/main/proto/SCMRatisProtocol.proto
@@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.hdds.protocol.proto";
option java_outer_classname = "SCMRatisProtocol";
option java_generate_equals_and_hash = true;
diff --git
a/hadoop-hdds/interface-server/src/main/proto/ScmServerDatanodeHeartbeatProtocol.proto
b/hadoop-hdds/interface-server/src/main/proto/ScmServerDatanodeHeartbeatProtocol.proto
index 8fc017f..7f2e6dd 100644
---
a/hadoop-hdds/interface-server/src/main/proto/ScmServerDatanodeHeartbeatProtocol.proto
+++
b/hadoop-hdds/interface-server/src/main/proto/ScmServerDatanodeHeartbeatProtocol.proto
@@ -21,6 +21,7 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *unstable* .proto interface.
*/
+syntax = "proto2";
option java_package = "org.apache.hadoop.hdds.protocol.proto";
diff --git
a/hadoop-hdds/interface-server/src/main/proto/ScmServerProtocol.proto
b/hadoop-hdds/interface-server/src/main/proto/ScmServerProtocol.proto
index 6d4759c..facdf58 100644
--- a/hadoop-hdds/interface-server/src/main/proto/ScmServerProtocol.proto
+++ b/hadoop-hdds/interface-server/src/main/proto/ScmServerProtocol.proto
@@ -21,7 +21,7 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *unstable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.hdds.protocol.proto";
option java_outer_classname = "ScmBlockLocationProtocolProtos";
option java_generic_services = true;
diff --git
a/hadoop-hdds/interface-server/src/main/proto/ScmServerSecurityProtocol.proto
b/hadoop-hdds/interface-server/src/main/proto/ScmServerSecurityProtocol.proto
index d91a986..c682071 100644
---
a/hadoop-hdds/interface-server/src/main/proto/ScmServerSecurityProtocol.proto
+++
b/hadoop-hdds/interface-server/src/main/proto/ScmServerSecurityProtocol.proto
@@ -21,6 +21,7 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *unstable* .proto interface.
*/
+syntax = "proto2";
option java_package = "org.apache.hadoop.hdds.protocol.proto";
diff --git a/hadoop-ozone/interface-client/src/main/proto/Security.proto
b/hadoop-ozone/interface-client/src/main/proto/Security.proto
index 2adf58e..65cbf48 100644
--- a/hadoop-ozone/interface-client/src/main/proto/Security.proto
+++ b/hadoop-ozone/interface-client/src/main/proto/Security.proto
@@ -23,6 +23,7 @@
*/
//Use ozone specific security proto until start using hadoop-thirdparty shaded
protobuf everywhere.
+syntax = "proto2";
option java_package = "org.apache.hadoop.ozone.security.proto";
option java_outer_classname = "SecurityProtos";
option java_generic_services = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]