hdfsReader插件在读取hive数仓文件时遇到空白文件时报异常

可以自己写代码,加一个开关,读到空文件不报错跳过或者终止。
拉一下最新的源码
https://github.com/alibaba/DataX.git
然后在本地执行编译打包,使用maven环境
执行 mvn -U clean package assembly:assembly -Dmaven.test.skip=true
在target会出现.tar.gz包 解压就可以用了
本地maven的setting.xml 最好修改为阿里的源
hey,Now I have this problem. How did you solve it?
hey,Now I have this problem. How did you solve it?
hey,there have other error: com.alibaba.datax.common.exception.DataXException: Code:[HdfsReader-08], Description:[您尝试读取的文件目录为空.]. - 未能找到待读取的文件,请确认您的配置项path。 do you solve it?
可以自己写代码,加一个开关,读到空文件不报错跳过或者终止。
加开关没用,还会继续报错读取的是空目录,请问你们会遇到这个问题吗?