1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-06 22:01:55 +00:00

update GA

This commit is contained in:
Newnius 2020-05-27 20:10:48 +08:00
parent 049a7e5d30
commit a8512bf56f

View File

@ -87,6 +87,7 @@ func (jm *JobManager) start() {
v.Set("hdfs_dir", "/user/yao/output/"+jm.job.Name)
v.Set("gpu_mem", strconv.Itoa(jm.job.Tasks[index].MemoryGPU))
log.Info("launching 2", index)
resp, err := doRequest("POST", "http://"+jm.resources[index].ClientHost+":8000/create", strings.NewReader(v.Encode()), "application/x-www-form-urlencoded", "")
if err != nil {
log.Warn(err.Error())