chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ari Rabkin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CHUKWA-28) Add late initialization to the chukwa log4j appender
Date Fri, 27 Mar 2009 22:40:50 GMT

     [ https://issues.apache.org/jira/browse/CHUKWA-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ari Rabkin updated CHUKWA-28:
-----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.  thanks, Jerome!

Note that this patch also alters the display of test results.  This was discussed by myself,
Jerome, and Eric earlier today, and I'm happy to commit it.   

Also.  Should there be a release note for this?

>  Add late initialization to the chukwa log4j appender
> -----------------------------------------------------
>
>                 Key: CHUKWA-28
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-28
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>            Reporter: Jerome Boulon
>            Assignee: Jerome Boulon
>            Priority: Blocker
>         Attachments: CHUKWA-28.patch, HADOOP-5058-2.patch, HADOOP-5058.patch
>
>
> With the current Chukwa log4j implementation, if you define a static log4j configuration
the appender is initialized at creation time.
> This may cause some problems for example with Hadoop Audit log or Metrics context, if
the log4j properties are statically defined then a userX running an hadoop command will trigger
a permission denied exception since the appender will try to initialize itself and therefore
try to create a file under userX ownership for each appender even if not data is going to
be written to it.
> The goal is to delay this initialization until the first message is actually written
to that log so this kind of issue could easily be avoided.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message