You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "seekerak (JIRA)" <ji...@apache.org> on 2015/10/04 21:33:26 UTC

[jira] [Updated] (FLUME-2807) Add a simple split interceptor

     [ https://issues.apache.org/jira/browse/FLUME-2807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

seekerak updated FLUME-2807:
----------------------------
    Attachment: FLUME-2807.patch

patch for FLUME-2807

> Add a simple split interceptor 
> -------------------------------
>
>                 Key: FLUME-2807
>                 URL: https://issues.apache.org/jira/browse/FLUME-2807
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.6.0
>            Reporter: seekerak
>              Labels: features, patch
>             Fix For: v1.6.0
>
>         Attachments: FLUME-2807.patch
>
>
> a simple split interceptor , aims to deal with the situation as follows:
> the source data like this:
> “
> 1,tom,boy,13
> 2,lili,girl,14
> 3,jack,boy,10
> ...
> ”
> and i hope to sink source data into two different hdfs directories named by boy and girl like this:
> “
> hdfs://xxxx/sink/boy/....
> hdfs://xxxx/sink/girl/....
> ”
> we can use this interceptor to accomplish this goal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)