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

ZooKeeper State Provider should block requests > 1 MB

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      ZooKeeper does not support setting data on a ZNode to a value greater than 1 MB. However, the client doesn't does not check this - it sends the data to the server and lets the server reject the request. This can cause problems with ZooKeeper if the requests grow extremely large. As a result, we should prevent this from ever happening by throwing an Exception ourselves if attempting to set state to a value > 1 MB

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markap14 Mark Payne
                Reporter:
                markap14 Mark Payne
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: