liang yu created FLINK-36539:
--------------------------------
Summary: Add Support for Hadoop Caller Context when using Flink on
yarn
Key: FLINK-36539
URL: https://issues.apache.org/jira/browse/FLINK-36539
Project: Flink
Issue Type: Improvement
Components: Runtime / Task
Reporter: liang yu
*Description:* As HDFS mentioned in HDFS-9184, for a given HDFS operation, it's
very helpful to track which upper level job issues it. But now Flink does not
support to set callerContext when trying to operate on Hadoop fileSystem.
*implementation:* Add a new HadoopOption which can be set in flink.yaml. By
setting this option to true, flink can search for the classpath if we can
invoke the method
{code:java}
callerContext.Builder().build().setCurrent(context){code}
and then set the jobId and TaskName with subtask id so that we can find
exactly who did the operation to Hadoop file.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)