[FLINK-15519][configuration]Preserve logs from BashJavaUtils and make them part of TM logs
We build a separate jar for BashJavaUtils with bundled log4j classes and a configuration that logs to the stdout. Using this jar we run the utility to capture the output. Out of the last line we extract jvm parameters. The rest we pass as an environment variable (INHERITED_LOGS) to the TaskManager process. As part of the EnvironmentInformation printing we log whatever was passed through the INHERITED_LOGS in the TM/JM process. This closes #10850
Showing
想要评论请 注册 或 登录