Github user pwendell commented on the pull request:
https://github.com/apache/spark/pull/148#issuecomment-37761875
@sryza when a user builds an application assembly jar, they are allowed to
bundle their own log4j.properties file in the jar. Is this not working for you
on YARN? Spark's own build intentionally ignores the Hadoop log4j.properties
file so that it won't be detected:
https://github.com/apache/spark/blob/master/assembly/pom.xml#L130
If a user is building their own assembly jar they would need to similarly
exclude other `log4j.properties` files that might get pulled in and put their
own one in `src/main/resources` so it gets bundled in the jar.
---
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.
---