Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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