Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2007

Spark on YARN picks up hadoop log4j.properties even if SPARK_LOG4J_CONF is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • None
    • YARN
    • None

    Description

      When running Spark on YARN, with SPARK_LOG4J_CONF environment variable set, containers might still pick up a different log4j configuration.

      spark-yarn will create a local resource in YARN called log4j.properties, which is included in the classpath. However, there might be other log4j.properties files in the classpath which might be chosen instead.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ibuenros Issac Buenrostro
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: