[
https://issues.apache.org/jira/browse/NIFI-8267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Witt updated NIFI-8267:
---------------------------
Fix Version/s: 1.13.1
> 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)