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

YarnDistributedCacheITCase does not generate logs.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.10.0
    • None
    • Deployment / YARN, Tests

    Description

      According to FLINK-14630, in order to properly generate logs, test cases that use starts cluster with YarnClusterDescriptor on MiniYARNCluster should call the util function FlinkYarnSessionCli#setLogConfigFileInConfig to set the path of log4j property file into the configuration.

      The YarnDistributedCacheITCase failed to do this.

      We probably should also revisit other Yarn IT cases see if there's any other case that also failed to do this.

      A discussable alternative is to make it a default behavior for YarnClusterDescriptor to always set the default log4j property file, if it can find one, when the property file is not explicitly configured.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xtsong Xintong Song
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: