Hi Jorge,
The proto should compile as part of "mvn compile" or mvn install" and this will generate java files which are placed in target/generated-sources.
Ozone uses a mvn proto plugin and does not require installed protoc executable.
Are you trying to compile the executable using protoc ? Also is the target language different from Java ?
Thanks, Mukul On 28/04/20 8:38 pm, Jorge Céspedes wrote:
Hello, There is a DatanodeContainerProtocol.proto file under hadoop-hdds/common/src/main/proto, which uses a map field in the message, and apparently this was not supported in version 2.5 as suggested in the contribution guide, but was introduced in version 3. I downloaded version 3 and set syntax="proto2" in the file. But now, when compiling another proto file that previously worked with the new version, HDDS.proto for example, the generated class contains errors, mainly about symbols that cannot be found. So I also set the syntax to proto2 in this file, and compile it again with version 3, and it still won't work. What would be the right approach to compile these proto files and generate classes correctly? Thanks! Jorge
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
