[
https://issues.apache.org/jira/browse/NIFI-8267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17298376#comment-17298376
]
ASF subversion and git services commented on NIFI-8267:
-------------------------------------------------------
Commit 2865c8547182698673f01b06f211b2ffba97d19e in nifi's branch
refs/heads/support/nifi-1.13 from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=2865c85 ]
NIFI-8267 - Fix for HWX Schema Registry to use integers (#4850)
> HWX Schema Registry - Cache size doesn't support long
> -----------------------------------------------------
>
> Key: NIFI-8267
> URL: https://issues.apache.org/jira/browse/NIFI-8267
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Major
> Fix For: 1.14.0, 1.13.1
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> In version 0.8.1, the cache size needs to be a positive number, that's the
> only verification being done:
> [https://github.com/hortonworks/registry/blob/0.8.1/schema-registry/client/src/main/java/com/hortonworks/registries/schemaregistry/client/SchemaRegistryClient.java#L1292]
> In more recent versions of the registry, the value is first converted into an
> integer:
> [https://github.com/hortonworks/registry/blob/0.9.0/schema-registry/client/src/main/java/com/hortonworks/registries/schemaregistry/client/SchemaRegistryClient.java#L1442]
> Problem is that we use a long in NiFi and the conversion fails. This needs to
> be changed.
> This applies to:
> * CLASSLOADER_CACHE_SIZE
> * CLASSLOADER_CACHE_EXPIRY_INTERVAL_SECS
> * SCHEMA_VERSION_CACHE_SIZE
> * SCHEMA_VERSION_CACHE_EXPIRY_INTERVAL_SECS
--
This message was sent by Atlassian Jira
(v8.3.4#803005)