Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Update Custom Metadata for existing entities in Cloudera Navigator

Update Custom Metadata for existing entities in Cloudera Navigator

Explorer

We are using CDH 5.15 and would like to update the Custom Metadata for the existing entities which can be then seen in Cloudera Navigator. One way is to use Cloudera Navigator console and update but since we have too many of them would like to see if there is other way around to update the custom metadata for all existing entities at once. Any suggestions would be helpful here.

5 REPLIES 5

Re: Update Custom Metadata for existing entities in Cloudera Navigator

Community Manager

Hi @NickBari ,

 

Depends on what kind of custom metadata you want to update from Cloudera Navigator, you may consider using the Cloudera Navigator APIs to do this for you.

Documentation and a brief tutorial for the Cloudera Navigator APIs are available on the same node of the cluster that runs the Navigator Metadata Server role:

http://fqdn-n.example.com:port/api-console/tutorial.html

You can refer to below doc for more details:

https://www.cloudera.com/documentation/enterprise/5-15-x/topics/navigator_data_mgmt.html

Thanks and hope this helps!

Li

Li Wang, Technical Resolution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Re: Update Custom Metadata for existing entities in Cloudera Navigator

Explorer

Thank you @lwang for your response. I went through the documentation and would like to explore the SDK option. I saw that there is link to the github directly, is there any tutorial or video on how SDK can be used to update the Custom Metadata?

Highlighted

Re: Update Custom Metadata for existing entities in Cloudera Navigator

Community Manager

Hi @NickBari ,

 

Have you explored the REST APIs? Majority of times using REST APIs would be able to meet the requirement. navigator-sdk is a public tool and the examples are in github too. For example below code is for incremental extraction of metadata in Java:

https://github.com/cloudera/navigator-sdk/blob/master/examples/src/main/java/com/cloudera/nav/sdk/ex...

 

Thanks and hope this helps,

Li

Li Wang, Technical Resolution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Re: Update Custom Metadata for existing entities in Cloudera Navigator

Explorer

Thank you @lwang . Haven't much explored about REST API's but will surely look for. Also will see the navigator sdk in detail.

Re: Update Custom Metadata for existing entities in Cloudera Navigator

Community Manager

Hi @NickBari ,

 

You are very welcome! Have fun coding.

 

Thanks,

Li

Li Wang, Technical Resolution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Don't have an account?
Coming from Hortonworks? Activate your account here