Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-36540

Add Support for Hadoop Caller Context when using Flink on yarn

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Runtime / Task
    • Hadoop 3.3.4
      Flink 1.14.4

    Description

      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

      callerContext.Builder().build().setCurrent(context)

       and then set the jobId and TaskName with subtask id so that we can find exactly who did the operation to Hadoop file.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ylllllllll liang yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: