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

Flow XML validation warnings for DataSize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Core Framework
    • None

    Description

      In the UI, go in the configuration view of any relationship and provide a flot number for the data size of the back pressure settings like

      1.5 GB

      When restarting NiFi, warnings will be displayed in the logs:

      2020-08-05 17:19:44,092 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 260040, col 58: cvc-pattern-valid: Value '1.5 GB' is not facet-valid with respect to pattern '\d+\s*(B|KB|MB|GB|TB|b|kb|mb|gb|tb)' for type 'DataSize'.
      2020-08-05 17:19:44,092 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 260040, col 58: cvc-type.3.1.3: The value '1.5 GB' of element 'maxWorkQueueDataSize' is not valid.

      The XSD pattern should be changed to match what is allowed in the UI.

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              pvillard Pierre Villard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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