From 8f6f113fdf028aec2b847980febbde9ccad04713 Mon Sep 17 00:00:00 2001 From: Jiawei Wang Date: Tue, 19 May 2020 11:28:32 +0800 Subject: [PATCH] Update util.go --- core/cube/cube-agent/src/agent/util.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/cube/cube-agent/src/agent/util.go b/core/cube/cube-agent/src/agent/util.go index 29d27682..1a0917d9 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 { -- GitLab