Package com.hdfsTools.action

Examples of com.hdfsTools.action.downLoadAction


    File dst = new File("E:/hadoop/temp" + tmpFile);// 建立临时的文件

    /*
     * 从hdfs文件系统下载文件到tomcat服务器临时文件dst
     */
    downLoadAction down = new downLoadAction();
    down.copyFileFromFs(dfsfile.getFileUrl(), dst, false);

    dst.deleteOnExit();
    return dst;
  }
View Full Code Here

TOP

Related Classes of com.hdfsTools.action.downLoadAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.