[ 
https://issues.apache.org/jira/browse/FLUME-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264619#comment-13264619
 ] 

Mubarak Seyed commented on FLUME-1117:
--------------------------------------

Hi Mike,

I am using trunk and trying to persist events in avro data file format. 
This is how i configured the serializer

{code}
agent.sinks.hdfsSink1.type = hdfs
agent.sinks.hdfsSink1.hdfs.fileType = DataStream
agent.sinks.hdfsSink1.hdfs.path = hdfs://nn_host/dir
agent.sinks.hdfsSink1.serializer = avro_event 
(or) 
agent.sinks.hdfsSink1.serializer = 
org.apache.flume.serialization.FlumeEventAvroEventSerializer$Builder 
{code}

I could not see the avro data file in hdfs. Am i missing any configurations 
specific to avro data file in serializer? 

Thanks.
Mubarak 

                
> Support output to files in Avro container format
> ------------------------------------------------
>
>                 Key: FLUME-1117
>                 URL: https://issues.apache.org/jira/browse/FLUME-1117
>             Project: Flume
>          Issue Type: Improvement
>    Affects Versions: v1.2.0
>            Reporter: Mike Percy
>            Assignee: Mike Percy
>             Fix For: v1.2.0
>
>         Attachments: FLUME-1117-4.patch
>
>
> Support output of events to a file in Avro container format.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to