flume 隐藏文件.flumespool-main.meta (系统找不到指定的路径。)

flume  隐藏文件.flumespool-main.meta  误删 报错如下,重启 flume 后正常

15 一月 2021 10:00:26,559 WARN  [pool-6-thread-1] (org.apache.flume.client.avro.ReliableSpoolingFileEventReader.openFile:686)  -
 Could not find file: D:\Data_Traffic\DataServerCloud01_AlarmEvent
\DataServerCloud01.Device.Even.Info.20210115100026.txt
java.io.FileNotFoundException: D:\Data_Traffic\.flumespool_r1\.flumespool-main.meta (系统找不到指定的路径。)
	at java.io.FileOutputStream.open0(Native Method)

.flumespool-main.meta  中保存flume 文件传输的元数据

Objavro.schema
{"type":"record","name":"TransferStateFileMeta","namespace":"org.apache.flume.serialization",
"fields":[{"name":"offset","type":"long"}]}
file~D:\CloudFile\DataServerCloud01.camera.dt1.202012221043.txt &(鎋÷࿺z­ &(鎋÷࿺z­

猜你喜欢

转载自blog.csdn.net/qq_35995514/article/details/112668187