Uploaded image for project: 'Chukwa (retired)'
  1. Chukwa (retired)
  2. CHUKWA-553

DirTailingAdaptor doesn't honor the file filter correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.4.0
    • None
    • Data Collection
    • None
    • Redhat Linux 5.2

    • Changes format of DirTailingAdaptor checkpoint entry

    Description

      The DirTailingAdaptor doesn't honor the file filter correctly. After first restart of Chukwa agent, the DirTailingAdaptor is starting an adaptor for files that don't match the filter provided. After little research, I found that the check point file for DirTailingAdaptor doesn't have the file filter argument provided by user. The bug is in "getCurrentStatus" method and it doesn't return the file pattern provided by user in the returned String. I was able to fix the issue by returning the file pattern in the returned String.

      Attachments

        1. DirTailingAdaptor.patch
          1 kB
          Deepak Deshpande

        Activity

          People

            Unassigned Unassigned
            dpkdshp Deepak Deshpande
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: