Skip to content

Commit

Permalink
fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
lgbo-ustc committed Nov 22, 2022
1 parent 65e2600 commit 9d66c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/local-engine/Common/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void initLocalCacheForRemoteFiles(const std::map<std::string, std::string> & bac
if (conf_iter == backend_conf.end() || conf_iter->second != "true")
return;
local_engine::registerHDFSMetadata(DB::RemoteFileMetadataFactory::instance());

// If run on yarn, different executors should have different working directory?
auto cache_dir = fs::current_path() / context_conf->getString("local_cache_for_remote_fs.root_dir", LOCAL_FILE_CACHE_DIR);
global_local_cache_dir = cache_dir.string();
Expand Down

0 comments on commit 9d66c46

Please sign in to comment.