문제

I am trying to use Flume with hdfs as sink. File is getting exported. But I want to customize the name of the output file. I am using hdfs.filePrefix property for it. It is always creating a file with FlumeData.timestamp.

도움이 되었습니까?

해결책

Please paste your configuration.

I tried it and it did work.

My setting:

agent.sinks.flumeHDFS.hdfs.filePrefix = stackoverflow

and I get the expected result.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top