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