1. Close buffer from Tachyon properly. 2. Make both spark cached and tachyon cached rdd use the same partition prune code path.