flume hidden file.flumespool-main.meta (The system cannot find the specified path.)

The flume hidden file .flumespool-main.meta mistakenly deletes the error as follows, it will be normal after restarting 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 saves the metadata of flume file transfer

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­

 

Guess you like

Origin blog.csdn.net/qq_35995514/article/details/112668187