Github user mridulm commented on the pull request:

    https://github.com/apache/spark/pull/148#issuecomment-37755416
  
    There is a user exposed option to configure log4j when run in yarn - which
    is shipped as part of the job if specified.
    
    
    On Sun, Mar 16, 2014 at 2:25 AM, Sandy Ryza <notificati...@github.com>wrote:
    
    > Currently, Spark doesn't ship a log4j.properties. It uses the
    > log4j.properties that comes from Hadoop. This log4j.properties is meant 
for
    > Hadoop services, not YARN containers. container-log4j.properties is a 
log4j
    > configuration that Hadoop provides for containers to use.
    >
    > Without this change, is there a way to control executor logging without
    > turning on the config option that puts the user classpath first and then
    > including a log4j.properties in the app jar? This doesn't seem like a good
    > way to configure logging to me. Though with the change, users can still
    > control the change by doing the same, but instead including a file named
    > container-log4j.properties in their app jar.
    >
    > I would be in favor of providing better ways for users to configure
    > logging for executors, but, if I understand correctly, this change isn't
    > making things worse.
    >
    > --
    > Reply to this email directly or view it on 
GitHub<https://github.com/apache/spark/pull/148#issuecomment-37752740>
    > .
    >


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to