- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Configuring NiFi Registry URL Aliases
- Labels:
-
Apache NiFi
-
NiFi Registry
Created ‎07-29-2022 03:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone know the process for setting up URL aliases in NiFi registry when using Cloudera Manager to manage the instance? The property: nifi.registry.registry.alias.configuration.file
is not available in the UI. And while there are options to ignore properties, there is nothing I can find to add arbitrary properties to the configuration.
In addition to the above, you also need to add a registry-aliases.xml file to the server and I see no way to accomplish that. Ideally this would all be auto-configured as the registry connection URL information is required in this latter file. And the path to these configuration files is managed by Cloudera Manager.
For reference, this is the feature of NiFi Registry I am attempting to make use of:
https://nifi.apache.org/docs/nifi-registry-docs/html/administration-guide.html#url-aliasing
Thanks for any advice anyone can give.
Created ‎07-31-2022 05:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@kellerj ,
Cloudera Manager does not manage the registry-aliases.xml file for you but you can create this file manually in a common location (e.g. /etc/nifiregistry/conf/registry-aliases.xml) and configure NiFi Registry to point to that file using the following safety valve configuration in Cloudera Manager:
After that, you just need to restart the NiFi Registry service and... voilà !
Cheers,
André
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎07-31-2022 05:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@kellerj ,
Cloudera Manager does not manage the registry-aliases.xml file for you but you can create this file manually in a common location (e.g. /etc/nifiregistry/conf/registry-aliases.xml) and configure NiFi Registry to point to that file using the following safety valve configuration in Cloudera Manager:
After that, you just need to restart the NiFi Registry service and... voilà !
Cheers,
André
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎08-01-2022 11:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much! I was looking around for the way to add arbitrary properties to the nifi-registry.properties and never hit on the right wording to find that one. Yep, figured I could always add the file manually if I could just do what you showed how to.
