[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
This commit is contained in:
parent
397d3aae5b
commit
67e9876b3e
|
@ -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()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue