hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kuldeep Kulkarni (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HDFS-7534) how to enable namenode GC logging
Date Tue, 16 Dec 2014 21:02:13 GMT

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

Kuldeep Kulkarni reassigned HDFS-7534:
--------------------------------------

    Assignee: Kuldeep Kulkarni

> how to enable namenode GC logging
> ---------------------------------
>
>                 Key: HDFS-7534
>                 URL: https://issues.apache.org/jira/browse/HDFS-7534
>             Project: Hadoop HDFS
>          Issue Type: Task
>            Reporter: Kuldeep Kulkarni
>            Assignee: Kuldeep Kulkarni
>
> Hey Team,
> Could you please let me know how to enable GC logging for hadoop namenode. ?
> I tried below method :
> modified HADOOP_NAMENODE_OPTS in /etc/hadoop/conf/hadoop-env.sh as below and restarted
namenode (HA is configured on cdh 4.7.0 )
> *before modification :*
> {code}
> export HADOOP_NAMENODE_OPTS="-Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,RFAS}
-Dhdfs.audit.logger=${HDFS_AUDIT_LOGGER:-INFO,NullAppender} $HADOOP_NAMENODE_OPTS";
> {code}
> *After modification:*
> {code}
> export HADOOP_NAMENODE_OPTS="-Xloggc:%HADOOP_LOG_DIR%/gc-namenode.log -verbose:gc -XX:+PrintGCDetails
-XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,RFAS}
-Dhdfs.audit.logger=${HDFS_AUDIT_LOGGER:-INFO,NullAppender} $HADOOP_NAMENODE_OPTS";
> {code}
> this method is not working :( 
> could you please help me on this.
> Thanks,
> Kuldeep



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

Mime
View raw message