Support Questions

Find answers, ask questions, and share your expertise

Configuring NiFi Registry URL Aliases

Explorer

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.

1 ACCEPTED SOLUTION

Master Collaborator

@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:

 

araujo_1-1659315154077.png

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.

View solution in original post

2 REPLIES 2

Master Collaborator

@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:

 

araujo_1-1659315154077.png

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.

Explorer

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.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.