FAQ-java.lang.IllegalStateException: files size can't be 0

问题描述/异常栈
2023-06-27 13:44:45 CST Diagnostics: User class threw exception: java.lang.IllegalStateException: files size can't be 0 at com.netease.music.da.transfer.ftp.reader.FtpReader.getFileSplits(FtpReader.scala:232) at com.netease.music.da.transfer.ftp.reader.FtpReader.doRead(FtpReader.scala:75) at com.netease.music.da.transfer.common.reader.AbstractDataReader.read(AbstractDataReader.scala:22) at com.netease.music.da.transfer.common.Worker$.main(Worker.scala:89) at com.netease.music.da.transfer.common.Worker.main(Worker.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:678)
发现版本
easytransfer 3.5.1.2
解决方案
1、FTP文件名换成英文
2、尝试设置主动默认,默认是PASV(被动模式)
FAQ-IllegalStateException: files size can't be 0 - 图1
问题原因
中文名称未识别

作者:xxx