Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-3023

{variable} substitution doesn't work for property 'fileSuffix'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.6.0
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:
      None
    • Environment:

      CDH5.5.1

      So, using Flume 1.6.0-cdh5.5.1

      Description

      In my sink configuration, setting the value of fileSuffix as follows :

      IngestAgent.sinks.HDFS1.hdfs.fileSuffix=_%Y%m%d.avro
      

      is giving me files with names as follows :

      /data/../../MyFileName.1479204507148_%Y%m%d.avro
      

      So the variables %Y%m%d didn't get resolved.

      Works fine if I add the variables to filePrefix instead.

        Attachments

        1. FLUME-3023.patch
          3 kB
          bharat
        2. FLUME-3023-test.patch
          3 kB
          bharat

          Issue Links

            Activity

              People

              • Assignee:
                umesh9794@gmail.com Umesh Chaudhary
                Reporter:
                karishmag9 Karishma Gulati
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: