Support Questions

Find answers, ask questions, and share your expertise

Flume data is not in text format

avatar
Expert Contributor

I have configured flume conf file to write the data in text format, however, i couldn't see the data in text format and below is the screen shot.

I see some non-printable characters intially and then i can see text data. I just want to get rid of non-printable characters.

11020-capture.png

1 ACCEPTED SOLUTION

avatar

Above posted data is in Sequence file format. If you are using the HDFS sink, please specify the following on your agent hdfsSink conf:

agent.sinks.hdfsSink.hdfs.fileType = DataStream
agent.sinks.hdfsSink.hdfs.writeFormat = Text

View solution in original post

2 REPLIES 2

avatar

Above posted data is in Sequence file format. If you are using the HDFS sink, please specify the following on your agent hdfsSink conf:

agent.sinks.hdfsSink.hdfs.fileType = DataStream
agent.sinks.hdfsSink.hdfs.writeFormat = Text

avatar
Expert Contributor

Thanks.. It was typo mistake where i didn't capitalize 'T' in fileType