diff --git a/core/cube/cube-agent/src/agent/util.go b/core/cube/cube-agent/src/agent/util.go index 29d27682a3c2e1c46d7ca8cb71de53c2e95df71f..1a0917d9810fb17cdaa4b2b1177d1e7414344a3e 100644 --- a/core/cube/cube-agent/src/agent/util.go +++ b/core/cube/cube-agent/src/agent/util.go @@ -83,9 +83,6 @@ func JsonReq(method, requrl string, timeout int, kv *map[string]string, } func GetHdfsMeta(src string) (master, ugi, path string, err error) { - //src = "hdfs://root:rootpasst@st1-inf-platform0.st01.baidu.com:54310/user/mis_user/news_dnn_ctr_cube_1/1501836820/news_dnn_ctr_cube_1_part54.tar" - //src = "hdfs://st1-inf-platform0.st01.baidu.com:54310/user/mis_user/news_dnn_ctr_cube_1/1501836820/news_dnn_ctr_cube_1_part54.tar" - ugiBegin := strings.Index(src, "//") ugiPos := strings.LastIndex(src, "@") if ugiPos != -1 && ugiBegin != -1 {