1)java进程退出时,退出码的选择
要考虑代码内部的,
azkaban-common/src/main/java/azkaban/jobExecutor/utils/process/AzkabanProcess.java
if (exitCode != 0) { String output = new StringBuilder().append("Stdout:\n") .append(outputGobbler.getRecentLog()).append("\n\n") .append("Stderr:\n").append(errorGobbler.getRecentLog()) .append("\n").toString(); throw new ProcessFailureException(exitCode, output); }
所以这个问题的答案就是:0---成功 其它---失败!