所需jar包 hdfs常用API和putMerge功能实现 一、url api操作方式 二、通过filesystem api操作hdfs hdfs工具类 常用操作实现类 三、上传合并小文件到hdfs 实现思想:循环遍历本地文件输入流