hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9118) Add logging system for libdhfs++
Date Fri, 04 Mar 2016 22:35:40 GMT

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

James Clampffer updated HDFS-9118:
    Attachment: HDFS-9118.HDFS-8707.000.patch

Initial patch:
-extend logging to be able to filter by severity level and origin component of the log message
-add optional timestamp to output message
-add optional thread id to output message
-put a mutex around output so messages aren't interleaving
-added message generation to rpc, block reader, file handle, and file system

-want to make this accept a void ()(const char*) callback through the c interface so it can
hand messages directly to client application
-maybe add a real logging library, maybe put that off until someone really wants/needs it.
-might be some more things worth logging
-some more testing to make sure the various masking functionality works

> Add logging system for libdhfs++
> --------------------------------
>                 Key: HDFS-9118
>                 URL: https://issues.apache.org/jira/browse/HDFS-9118
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>    Affects Versions: HDFS-8707
>            Reporter: Bob Hansen
>            Assignee: James Clampffer
>         Attachments: HDFS-9118.HDFS-8707.000.patch
> With HDFS-9505, we've starting logging data from libhdfs++.  Consumers of the library
are going to have their own logging infrastructure that we're going to want to provide data
> libhdfs++ should have a logging library that:
> * Is overridable and can provide sufficient information to work well with common C++
logging frameworks
> * Has a rational default implementation 
> * Is performant

This message was sent by Atlassian JIRA

View raw message