Skip to main content
tejan08
Silver ⭐️⭐️
April 10, 2025
Solved

Unable to Find API for Creating Ranger Plugin Audit Directory HBase

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.

upadhyayk04
Gold ⭐️⭐️⭐️
April 15, 2025

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
 
 

3 replies

DianaTorres
Community Manager
Community Manager
April 10, 2025

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

Translate
Regards, Diana Torres, Senior Community Moderator
upadhyayk04
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
April 15, 2025

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
 
 
Translate
tejan08
tejan08Author
Silver ⭐️⭐️
April 16, 2025

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

 

Translate