mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-12 23:36:44 +00:00
update
This commit is contained in:
@@ -116,7 +116,8 @@ func (jm *JobManager) start() {
|
||||
v.Set("network", network)
|
||||
v.Set("should_wait", "1")
|
||||
v.Set("output_dir", "/tmp/")
|
||||
v.Set("hdfs_dir", "http://hdfs-master:50070/user/yao/output/"+jm.job.Name)
|
||||
v.Set("hdfs_address", "http://192.168.100.104:50070/")
|
||||
v.Set("hdfs_dir", "/user/yao/output/"+jm.job.Name)
|
||||
v.Set("gpu_mem", strconv.Itoa(jm.job.Tasks[i].MemoryGPU))
|
||||
|
||||
resp, err := doRequest("POST", "http://"+jm.resources[i].ClientHost+":8000/create", strings.NewReader(v.Encode()), "application/x-www-form-urlencoded", "")
|
||||
|
||||
Reference in New Issue
Block a user