You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/01/26 23:44:39 UTC

[jira] [Created] (HDFS-9708) FSNamesystem.initAuditLoggers() doesn't trim classnames

Steve Loughran created HDFS-9708:
------------------------------------

             Summary: FSNamesystem.initAuditLoggers() doesn't trim classnames
                 Key: HDFS-9708
                 URL: https://issues.apache.org/jira/browse/HDFS-9708
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: fs
    Affects Versions: 2.8.0
            Reporter: Steve Loughran


The {{FSNamesystem.initAuditLoggers()}} method reads a list of audit loggers from a call to {{ conf.getStringCollection(DFS_NAMENODE_AUDIT_LOGGERS_KEY);}}

What it doesn't do is trim each entry -so if there's a space or newline in the
list, the classname is invalid and won't load, so HDFS wont come out to play.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)