Jing Zhao created HDFS-4052: ------------------------------- Summary: FSNameSystem#invalidateWorkForOneNode and FSNameSystem#computeReplicationWorkForBlock in branch-1 should print debug information outside of the namesystem lock Key: HDFS-4052 URL: https://issues.apache.org/jira/browse/HDFS-4052 Project: Hadoop HDFS Issue Type: Improvement Affects Versions: 1.2.0, 3.0.0 Reporter: Jing Zhao Assignee: Jing Zhao Priority: Minor
Currently in branch-1, both FSNameSystem#invalidateWorkForOneNode and FSNameSystem#computeReplicationWorkForBlock print debug information (which can be a long msg generated by traversing a list/array) without releasing the FSNameSystem lock. It would be better to move them outside of the namesystem lock. This may also apply to FSNameSystem#invalidateWorkForOneNode in trunk. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira