Github user sryza commented on the pull request:
https://github.com/apache/spark/pull/148#issuecomment-38866826
I uploaded a patch with a new approach. In it, we use neither Hadoop's
log4j.properties nor Hadoop's container-log4j.properties. I added a
log4j-spark-container.properties file (with the same conf as
conf/log4j.properties.template) that gets included in the Spark yarn jar. This
is used by default, but if the user specifies a SPARK_LOG4J_CONF, that will get
used instead.
I think this should address the issues that y'all have pointed out with the
original approach, but let me know if I'm missing anything.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---