hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2304) log libhdfs messages to syslog
Date Wed, 10 Oct 2012 19:37:03 GMT

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

Eli Collins updated HDFS-2304:
------------------------------

     Target Version/s: 2.0.3-alpha
    Affects Version/s: 1.0.0
                       2.0.0-alpha

Nit:
- In hdfs.c now that you're using the macros which log "ERROR", "WARN" etc you can remove
that part of the string from the message. Eg instead of
{code}
ERROR( "ERROR: foo" 
{code}
do
{code}
ERROR( "foo" 
{code}

Otherwise looks great, thanks for working on this.
                
> log libhdfs messages to syslog
> ------------------------------
>
>                 Key: HDFS-2304
>                 URL: https://issues.apache.org/jira/browse/HDFS-2304
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: libhdfs
>    Affects Versions: 1.0.0, 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Stephen Fritz
>            Priority: Minor
>              Labels: newbie
>         Attachments: HDFS-2304.patch
>
>
> libhdfs currently logs to stdout. Not all applications that link to libhdfs capture stdout
so it would be useful to have the logs goto syslog as well (eg see fuse_dfs.h macros that
log to both).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message