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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.6.0
    • None
    • Configuration
    • None
    • 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

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

              Dates

                Created:
                Updated: