Support Questions

Find answers, ask questions, and share your expertise

Unable to Find API for Creating Ranger Plugin Audit Directory HBase

avatar
New Contributor

I am trying to create a Ranger plugin audit directory on HBase programmatically using an API. However, I couldn't find any relevant API or documentation that explains how to achieve this.

2 ACCEPTED SOLUTIONS

avatar
Master Collaborator

Hello @tejan08 

Thank you for reaching out to community

I did not find the exact API for this but you can have a look at the below API it will prepare all the new services

On CM UI >> Support >> API Explorer and the below API's

POST​/clusters​/{clusterName}​/commands​/firstRun

 
Give it a try and let me know if that helps else we can manually create that directory in hdfs as well
 
 

View solution in original post

avatar
New Contributor

Hello @upadhyayk04 
As the API was not found in API explorer so, I did some testing and found out this
POST​/clusters​/{clusterName}​/services/commands​/RangerPluginCreateAuditDir

 

View solution in original post

3 REPLIES 3

avatar
Community Manager

@tejan08 Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our HBase experts @aquilodran @pajoshi @Anandh_S  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


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:

avatar
Master Collaborator

Hello @tejan08 

Thank you for reaching out to community

I did not find the exact API for this but you can have a look at the below API it will prepare all the new services

On CM UI >> Support >> API Explorer and the below API's

POST​/clusters​/{clusterName}​/commands​/firstRun

 
Give it a try and let me know if that helps else we can manually create that directory in hdfs as well
 
 

avatar
New Contributor

Hello @upadhyayk04 
As the API was not found in API explorer so, I did some testing and found out this
POST​/clusters​/{clusterName}​/services/commands​/RangerPluginCreateAuditDir