From d6f1009455820f7dc2662c378377819de91f0313 Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Wed, 4 Jan 2017 14:06:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E8=AF=B7=E6=B1=82gfs?= =?UTF-8?q?=E7=9A=84=E8=BF=94=E5=9B=9E=E7=BB=93=E6=9E=9C=E5=88=B0=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/platform/http/gfs/CopyData.java | 1 + src/com/platform/http/gfs/RemoveData.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/com/platform/http/gfs/CopyData.java b/src/com/platform/http/gfs/CopyData.java index 1412d15d..c9a10bf9 100644 --- a/src/com/platform/http/gfs/CopyData.java +++ b/src/com/platform/http/gfs/CopyData.java @@ -52,6 +52,7 @@ public class CopyData { map.put("destPath", destFolderName); //请求web String rest = ht.sendPost("data/copyData", map); + log.info(rest); if (null == rest || "".equals(rest)) { log.error(" --- gluster is disconnect ! \n"); return 0; diff --git a/src/com/platform/http/gfs/RemoveData.java b/src/com/platform/http/gfs/RemoveData.java index 64217929..50f96676 100644 --- a/src/com/platform/http/gfs/RemoveData.java +++ b/src/com/platform/http/gfs/RemoveData.java @@ -36,6 +36,7 @@ public class RemoveData { try { //请求 web sendPost rest = ht.sendPost("data/removeData", map); + log.info(rest); if (null == rest || "".equals(rest)) { log.error(" --- gluster is disconnect ! \n"); return 0; @@ -66,6 +67,7 @@ public class RemoveData { try { //请求web rest = ht.sendPost("data/abortCopyData", map); + log.info(rest); if (null == rest || "".equals(rest)) { log.error(" --- gluster is disconnect ! \n"); return 0;