Member since
11-20-2017
3
Posts
0
Kudos Received
0
Solutions
07-01-2019
08:03 AM
I am trying to use the APIs provided by ranger for updating policies from an external application. But each individual update takes close to 4 mins. The total number of existing active policies across services is 13000+. Its running on a 3 node cluster with 32GB memory and 16 cores each. Is it due to the sheer policy size? Can we optimize or increase the performance somehow (any patches or DB connection increase)?
... View more
Labels:
11-21-2017
10:17 AM
Hi @Jay Kumar SenSharma, The log file doesn't show any warning or error on saving. it even says save successful in UI. The log is attached for reference. What i noticed is that in case of HDP service from HDP 2.6 stack, there is a HTTP PUT call happening on saving configs which then pushes it to stale state to the API : /api/v1/clusters/dev after a call to /api/v1/stacks/HDP/versions/2.6/validations But for my stack service, the same doesn't get called. Only validation call happens. I exported the PUT from HDP Stack as a curl bash command, modified it for my stack and service with proper config params as the data and ran the curl from the shell. This triggered the change to happen and UI showed stale configs. So what is causing the config push to not happen from the UI?ambari-server.txt
... View more
11-20-2017
09:39 AM
I have a custom stack created for Ambari that monitors services/app on my cluster. The control of the apps works well. But I want to modify configurations from the UI. The change to the existing conf from WEB UI gives "save successful" popup. But the value doesn't change, the app doesn't go to stale config state and the postgres db doesn't have the new value. Am i missing something when creating the stack?
... View more
Labels: