Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Flume data is not in text format

Solved Go to solution

Flume data is not in text format

Rising Star

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

Accepted Solutions

Re: Flume data is not in text format

Master Collaborator

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
2 REPLIES 2

Re: Flume data is not in text format

Master Collaborator

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

Re: Flume data is not in text format

Rising Star

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

Don't have an account?
Coming from Hortonworks? Activate your account here