Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6113

GetHDFSFileInfo not working correctly with > 1 concurrent task

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0, 1.7.1, 1.9.0
    • 1.14.0, 1.13.1
    • None
    • None

    Description

      The processor has a member variable that stores some information about what directory to filter on, and the member variable is not protected for concurrent access. If someone configures the processor with > 1 concurrent tasks, than each execution of the processor can be updating the member variable at the same time, leading to unexpected results.

      Attachments

        1. GetHDFSFileInfo.java
          40 kB
          Stan Antyufeev

        Issue Links

          Activity

            People

              stanislav.antufeev@gmail.com Stan Antyufeev
              bbende Bryan Bende
              Votes:
              10 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h