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

DirTailingAdaptor doesn't honor the file filter correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: None
    • Component/s: Data Collection
    • Labels:
      None
    • Environment:

      Redhat Linux 5.2

    • Release Note:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: