[ 
https://issues.apache.org/jira/browse/HADOOP-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493199
 ] 

dhruba borthakur commented on HADOOP-1139:
------------------------------------------

org.apache.hadoop.dfs.StateChange is used to record state changes to blocks. 
All other log messages in the FSNamesystem go to 
org.apache.hadoop.fs.FSNamesystem. Thus, it is possible to control log message 
of block state changes without affecting other logging levels. 

A production site could set only org.apache.hadoop.dfs.StateChange to debug 
level. I am proposing that no code change is necessary.

> All block trasitions should be logged at log level INFO
> -------------------------------------------------------
>
>                 Key: HADOOP-1139
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1139
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: dhruba borthakur
>
> The namenode records block trasitions in its log file. It is seen that some 
> of the block transition messages were being logged at debug level. These 
> should be done at INFO level.

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

Reply via email to