Staffan Friberg created HDFS-9299: ------------------------------------- Summary: Give ReplicationMonitor a readable thread name Key: HDFS-9299 URL: https://issues.apache.org/jira/browse/HDFS-9299 Project: Hadoop HDFS Issue Type: Improvement Components: namenode Affects Versions: 2.7.1 Reporter: Staffan Friberg Priority: Trivial
Currently the log output from the Replication Monitor is the class name, by setting the name on the thread the output will be easier to read. Current 2015-10-23 11:07:53,344 [org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$ReplicationMonitor@2fbdc5dd] INFO blockmanagement.BlockManager (BlockManager.java:run(4125)) - Stopping ReplicationMonitor. After 2015-10-23 11:07:53,344 [ReplicationMonitor] INFO blockmanagement.BlockManager (BlockManager.java:run(4125)) - Stopping ReplicationMonitor. -- This message was sent by Atlassian JIRA (v6.3.4#6332)