提交 eb58bc19 编写于 作者: C chengtbf

remove useless code


Former-commit-id: a2fdbb8f661ae1e9a89e881d4970abd44e4b527e
上级 20a6f920
......@@ -36,11 +36,6 @@ void Scheduler::Process(const std::string& job_conf_filepath,
NewAllSingleton(job_conf_filepath, this_machine_name, env);
auto plan = of_make_unique<Plan>();
std::string naive_plan_filepath = JoinPath(LogDir(), "naive_plan");
//#ifdef PLATFORM_WINDOWS
// char current_dir[128];
// GetCurrentDirectory(100, current_dir);
// LOG(INFO) << "current_dir is " << current_dir << "\n";
//#endif // PLATFORM_WINDOWS
// Compile
if (RuntimeCtx::Singleton()->IsThisMachineMaster()) {
std::stringstream compile_cmd;
......
......@@ -94,7 +94,7 @@ struct GlobalFSConstructor {
const GlobalFSConf& gfs_conf =
JobDesc::Singleton()->job_conf().global_fs_conf();
if (gfs_conf.has_localfs_conf()) {
// CHECK_EQ(JobDesc::Singleton()->resource().machine().size(), 1);
CHECK_EQ(JobDesc::Singleton()->resource().machine().size(), 1);
gfs = LocalFS();
} else if (gfs_conf.has_hdfs_conf()) {
gfs = new HadoopFileSystem(gfs_conf.hdfs_conf());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册