Пример #1
0
 public void download() {
   Map<String, Object> map = HUtils.downLoad(input, Utils.getRootPathBasedPath(output));
   Utils.write2PrintWriter(JSON.toJSONString(map));
   return;
 }
Пример #2
0
 public void upload() {
   Map<String, Object> map = HUtils.upload(input, HUtils.getHDFSPath(HUtils.SOURCEFILE));
   Utils.write2PrintWriter(JSON.toJSONString(map));
   return;
 }