Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Unable to Find API for Creating Ranger Plugin Audit Directory HBase

avatar
Explorer

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
Explorer

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,
Senior 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
Explorer

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