Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is blocked by
-
HDFS-258 Confirm that all block history events are available in logs
- Open
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.