Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Flume >> mail # user >> Flume/HDFS Encoding


+
Cormier, Christopher 2012-12-14, 20:48
Copy link to this message
-
Re: Flume/HDFS Encoding
Hi,

On Fri, Dec 14, 2012 at 2:48 PM, Cormier, Christopher
<[EMAIL PROTECTED]> wrote:
> SEQ!org.apache.hadoop.io.LongWritableorg.apache.hadoop.io.TextY] õpµ^R÷ﳬÕ
>

This is a SequenceFile.

>
> requestToHDFS.sinks.HDFS.hdfs.file.Type = DataStream
>
> # also tried...
>
> #requestToHDFS.sinks.HDFS.hdfs.file.Type = SequenceFile
>

The parameter is hdfs.fileType. See here:

http://flume.apache.org/FlumeUserGuide.html#hdfs-sink

It sounds like you want a text file so you should use DataStream.

Brock
+
Cormier, Christopher 2012-12-14, 20:59
+
Brock Noland 2012-12-14, 21:02
+
Cormier, Christopher 2012-12-14, 21:08
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB