HDFS-9003. ForkJoin thread pool leaks. Contributed by Kihwal Lee.

This commit is contained in:
Jing Zhao 2015-09-02 15:19:04 -07:00
parent afc88b396f
commit de928d566a
2 changed files with 3 additions and 0 deletions

View File

@ -1279,6 +1279,8 @@ Release 2.8.0 - UNRELEASED
HDFS-8388. Time and Date format need to be in sync in NameNode UI page. HDFS-8388. Time and Date format need to be in sync in NameNode UI page.
(Surendra Singh Lilhore via aajisaka) (Surendra Singh Lilhore via aajisaka)
HDFS-9003. ForkJoin thread pool leaks. (Kihwal Lee via jing9)
Release 2.7.2 - UNRELEASED Release 2.7.2 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -880,6 +880,7 @@ public class FSImage implements Closeable {
root, counts); root, counts);
p.execute(task); p.execute(task);
task.join(); task.join();
p.shutdown();
LOG.info("Quota initialization completed in " + (Time.now() - start) + LOG.info("Quota initialization completed in " + (Time.now() - start) +
" milliseconds\n" + counts); " milliseconds\n" + counts);
} }