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

PutKudu 1.10.0 Memory Leak

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.11.0
    • Component/s: Extensions
    • Labels:
    • Environment:
      NiFi 1.10.0 8-Node Cluster; Kudu 1.10.0

      Description

      PutKudu 1.10.0 eats up all the heap memory and garbage collection can't anymore free up memory after a few hours.

      We have an NiFi 8-Node cluster (31GB java max memory configured) with a streaming source which generates constantly about 2'500 flowfiles/2.5GB data in 5 minutes. In our example the streaming source was running on "nifi-05" (green line). As you can see between 00:00 and 04:00 the memory grows and grows and at the end the node became instable and the dreaded "java.lang.OutOfMemoryError: Java heap space" message appeared. We tried to do a manual garbage collection with visualvm profiler, but it didn't helped.  

      We are sure that the PutKudu is the culprit, as we have now taken the codebase from PutKudu 1.9.2 and use it now in NiFi 1.10.0 without any leaks at all.

      With the official PutKudu 1.10.0 processor our cluster crashed within 5-6 hours with our current load as the memory was completely full.

       

        Attachments

        1. PutKudu_Settings.png
          65 kB
          Josef Zahner
        2. PutKudu_Scheduling.png
          44 kB
          Josef Zahner
        3. PutKudu_Properties.png
          68 kB
          Josef Zahner
        4. memory_leak.png
          276 kB
          Josef Zahner

          Issue Links

            Activity

              People

              • Assignee:
                granthenke Grant Henke
                Reporter:
                jzahner Josef Zahner
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: