????????????hdfs-site.xml ?? 
core-site.xml??IDEA??resources????????????????????conf????????????????????????????namespace


 
???????? kcz
?????????? 2020-06-02 19:20
???????? user-zh
?????? flink-1.10 ????hdfs????????????????????????
??????????
String path = "hdfs://HACluster/user/flink/test-1/2020-05-29--15/";
StreamExecutionEnvironment env = 
StreamExecutionEnvironment.getExecutionEnvironment();
FileInputFormat fileInputFormat = new TextInputFormat(new Path(path));
fileInputFormat.setNestedFileEnumeration(true);
env.readFile(fileInputFormat, path).print();
env.execute();hdfs??????????????/user/flink/test-1/2020-05-29--15/.part-0-0.inprogress.6c12fe72-5602-4458-b29f-c8c8b4a7b73b(??????)/user/flink/test-1/2020-05-29--15/.part-1-0.inprogress.34b1d5ff-cf0d-4209-b409-21920b12327d????????????????????flink??????????????????

回复