You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Karishma Gulati (JIRA)" <ji...@apache.org> on 2016/11/15 11:57:58 UTC
[jira] [Created] (FLUME-3023) {variable} substitution doesn't work
for property 'fileSuffix'
Karishma Gulati created FLUME-3023:
--------------------------------------
Summary: {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
Priority: Minor
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.4#6332)