zentol commented on a change in pull request #14332:
URL: https://github.com/apache/flink/pull/14332#discussion_r540486480
##########
File path:
flink-mesos/src/main/java/org/apache/flink/mesos/entrypoint/MesosTaskExecutorRunner.java
##########
@@ -33,14 +33,16 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import static org.apache.flink.runtime.util.ExitCode.RUNNER_INIT;
+
/**
* The entry point for running a TaskManager in a Mesos container.
*/
public class MesosTaskExecutorRunner {
private static final Logger LOG =
LoggerFactory.getLogger(MesosTaskExecutorRunner.class);
- private static final int INIT_ERROR_EXIT_CODE = 31;
+ private static final int INIT_ERROR_EXIT_CODE =
RUNNER_INIT.getExitCode();
Review comment:
There's no benefit in keeping these fields.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]