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

PutKudu 1.10.0 Memory Leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 1.10.0
    • 1.11.0
    • Extensions
    • 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. memory_leak.png
          276 kB
          Josef Zahner
        2. PutKudu_Properties.png
          68 kB
          Josef Zahner
        3. PutKudu_Scheduling.png
          44 kB
          Josef Zahner
        4. PutKudu_Settings.png
          65 kB
          Josef Zahner

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: