[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flume-dev
Subject:    [jira] [Commented] (FLUME-3023) {variable} substitution doesn't work for property 'fileSuffix'
From:       Bessenyei_Balázs_Donát_(JIRA) <jira () apache ! org>
Date:       2017-02-28 11:31:45
Message-ID: JIRA.13020776.1479211051000.17284.1488281505432 () Atlassian ! JIRA
[Download RAW message or body]


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

Bessenyei Balázs Donát commented on FLUME-3023:
-----------------------------------------------

Hi [~bharat_tg],

Thank you for the new patch!
I was able to apply the first one, but not the second. (Not even on top of the \
first).

Can you please create a pull request at https://github.com/apache/flume/pulls - that \
would help with the review, too.

> {variable} substitution doesn't work for property 'fileSuffix'
> --------------------------------------------------------------
> 
> Key: FLUME-3023
> URL: https://issues.apache.org/jira/browse/FLUME-3023
> Project: Flume
> Issue Type: Bug
> Components: Configuration
> Affects Versions: v1.6.0
> Environment: CDH5.5.1
> So, using Flume 1.6.0-cdh5.5.1
> Reporter: Karishma Gulati
> Assignee: Umesh Chaudhary
> Priority: Minor
> Attachments: FLUME-3023.patch, FLUME-3023-test.patch
> 
> 
> In my sink configuration, setting the value of fileSuffix as follows :
> {code}
> IngestAgent.sinks.HDFS1.hdfs.fileSuffix=_%Y%m%d.avro
> {code}
> is giving me files with names as follows :
> {code}
> /data/../../MyFileName.1479204507148_%Y%m%d.avro
> {code}
> So the variables %Y%m%d didn't get resolved. 
> Works fine if I add the variables to filePrefix instead. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic