Known Issues in Flow Management
Learn about the known issues in Flow Management clusters, the impact or changes to the functionality, and the workaround.
- NiFi cannot connect to NiFi Registry
- By default, NiFi is configured with a NiFi Registry client to
interact with the NiFi Registry instance. The URL used to configure the Registry client
may not be correct depending on your deployment model for CDP Public Cloud. For example:
https://***gateway***/.../.../cdp-proxy/nifi-registry-app/nifi-registry/
If the URL is not correct, you may face
"connect timed out"
errors when interacting with NiFi Registry from the NiFi UI. - NIFI-9054: Calling Nifi Registry's createExtensionBundleVersion REST endpoint will cause a NullPointerException
- The /buckets/{bucketId}/bundles/nifi-nar API in NiFi Registry may throw a NullPointerException.
- JDK versions mismatch
- If doing a software only upgrade for your Flow Management DataHub clusters and if repairing one of the NiFi nodes after the upgrade, you may be in a situation where the JDK used by NiFi is not the same across the nodes. In such a case, this may cause issues in the NiFi UI and you may get an "Unexpected error" message.
- Failed to import XML templates through the NiFi UI
- When you try to import an XML template through the NiFi UI, you
get an
Invalid CORS request
error.
Technical Service Bulletins
- TSB 2022-580: NiFi Processors cannot write to content repository
- If the content repository disk is filled more than 50% (or any other value that is set
in
nifi.properties
fornifi.content.repository.archive.max.usage.percentage
), and if there is no data in the content repository archive, the following warning message can be found in the logs: "Unable to write flowfile content to content repository container default due to archive file size constraints; waiting for archive cleanup". This would block the processors and no more data is processed.This appears to only happen if there is already data in the content repository on startup that needs to be archived, or if the following message is logged: “Found unknown file XYZ in the File System Repository; archiving file”.
- Upstream JIRA
- Knowledge article
- For the latest update on this issue see the corresponding Knowledge article: TSB 2022-580: NiFi Processors cannot write to content repository
- TSB 2022-589: CVE-2022-33140 Apache NiFi ShellUserGroupProvider Vulnerability
- The optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16.2 and Apache NiFi Registry 0.6.0 to 1.16.2 does not neutralize arguments for group resolution commands, allowing injection of operating system commands on Linux and macOS platforms. The ShellUserGroupProvider is not included in the default configuration. Command injection requires ShellUserGroupProvider to be one of the enabled User Group Providers (UGP) in the Authorizers configuration. Command injection also requires an authenticated user with elevated privileges. Apache NiFi requires an authenticated user with authorization to modify access policies in order to execute the command. Apache NiFi Registry requires an authenticated user with authorization to read user groups in order to execute the command. The resolution removes command formatting based on user-provided arguments.
- Knowledge article
- For the latest update on this issue see the corresponding Knowledge article: TSB 2022-589: CVE-2022-33140 Apache NiFi ShellUserGroupProvider Vulnerability