- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Flume data is not in text format
- Labels:
-
Apache Flume
Created on ‎01-03-2017 11:27 PM - edited ‎08-19-2019 04:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎01-04-2017 04:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎01-04-2017 04:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎01-04-2017 07:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.. It was typo mistake where i didn't capitalize 'T' in fileType
