slfan1989 commented on PR #5363: URL: https://github.com/apache/hadoop/pull/5363#issuecomment-1499065726
@goiri This pr may not be able to clean bulid, I read this part of the code carefully. The javac warning should be caused by a new proto code added to this pr. ``` message DeregisterSubClustersProto { optional string subClusterId = 1; optional string deregisterState = 2; optional string lastHeartBeatTime = 3; optional string information = 4; optional string subClusterState = 5; } ``` This code will be directly compiled into `DeregisterSubClustersProto.java` by protobuf. ``` hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/target/ generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerServiceProtos.java:18867:102: [deprecation] PARSER in DeregisterSubClustersProto has been deprecated ``` We can check the following issue, the current version of protobuf does not seem to be able to solve it. https://github.com/protocolbuffers/protobuf/issues/7271 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org