记录请求gfs的返回结果到日志。

web_backend_develope
chenlw 9 years ago
parent 73502acd1d
commit d6f1009455

@ -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;

@ -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;

Loading…
Cancel
Save