[ 
https://issues.apache.org/jira/browse/NIFI-7710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated NIFI-7710:
---------------------------------
    Status: Patch Available  (was: Open)

> Flow XML validation warnings for DataSize
> -----------------------------------------
>
>                 Key: NIFI-7710
>                 URL: https://issues.apache.org/jira/browse/NIFI-7710
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Trivial
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
> {code:java}
> 1.5 GB{code}
> When restarting NiFi, warnings will be displayed in the logs:
> {code:java}
> 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.{code}
> The XSD pattern should be changed to match what is allowed in the UI.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to