Skip to content
Snippets Groups Projects
Commit 67e9876b authored by Mingfei's avatar Mingfei Committed by Patrick Wendell
Browse files

[SPARK-4441] Close Tachyon client when TachyonBlockManager is shutdown

Currently Tachyon client is not closed when TachyonBlockManager is shut down. which causes some resources in Tachyon not reclaimed

Author: Mingfei <mingfei.shi@intel.com>

Closes #3299 from shimingfei/closeClient and squashes the following commits:

0913fbd [Mingfei] close Tachyon client when TachyonBlockManager is shutdown
parent 397d3aae
No related branches found
No related tags found
No related merge requests found
...@@ -148,6 +148,7 @@ private[spark] class TachyonBlockManager( ...@@ -148,6 +148,7 @@ private[spark] class TachyonBlockManager(
logError("Exception while deleting tachyon spark dir: " + tachyonDir, e) logError("Exception while deleting tachyon spark dir: " + tachyonDir, e)
} }
} }
client.close()
} }
}) })
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment