private void fromHdfsToTachyon(TachyonURI path) throws IOException {
if (!mTFS.exist(path)) {
Path hdfsPath = Utils.getHDFSPath(path, mUnderFSAddress);
FileSystem fs = hdfsPath.getFileSystem(getConf());
if (fs.exists(hdfsPath)) {
TachyonURI ufsUri = new TachyonURI(mUnderFSAddress);
TachyonURI ufsAddrPath = new TachyonURI(ufsUri.getScheme(), ufsUri.getAuthority(),
path.getPath());
// Set the path as the TFS root path.
UfsUtils.loadUnderFs(mTFS, path, ufsAddrPath, new PrefixList(null));
}
}