Member since
04-16-2019
373
Posts
7
Kudos Received
4
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
23792 | 10-16-2018 11:27 AM | |
7871 | 09-29-2018 06:59 AM | |
1206 | 07-17-2018 08:44 AM | |
6665 | 04-18-2018 08:59 AM |
01-15-2018
11:18 AM
Hi, I want to fetch policy details of a particular user using rest api . I do want to get policies and then corresponding users to this , but in reverse way. curl -u admin:admin -X GET http://<Ranger_hsot>:6080/service/public/api/policy I have executed above rest api but it details policies and its all information but I wanted to get policy corresponding to user . Basically if I pass user id or its name then when rest api is executed it should details its corresponding policy. could some one please refer some rest api to achieve above requirement ?
... View more
Labels:
- Labels:
-
Apache Ranger
01-11-2018
08:25 AM
@Jay Kumar SenSharma
I am familiar with the manual creating but exporting blueprint form other cluster some confusions , below i am listing the steps I do while creating blueprint manually, and iits replacement when we export from other cluster .
while we do manual our first step is to create hostmapping.json file but when we have to export blueprint still we have to do the same . Then we create cluster_configuration.json file but in export method all these configs will come automatically so we do not need to create this file , am i right with this ? then we have to create nternal repo . : Register blueprint with
ambari server by executing below command curl -H "X-Requested-By: ambari" -X POST -u
admin:admin http://<ambari-server-hostname>:8080/api/v1/blueprints/multinode-hdp
-d @cluster_config.json [here in place of cluster_config.json we have to pass ambari blueprint that we exported from other cluster .
setup internal repos pull the trigger! below command to start cluster isntallation curl
-H "X-Requested-By: ambari" -X POST -u admin:admin
http://<ambari-server-hostname>:8080/api/v1/clusters/multinode-hdp -d
@hostmap.json conclusion : basically all the steps are same except creating cluster_configuration.json file we are exporting this from another cluster . This is my whole understanding If I am wrong somewhere please highlight the same . Thanks in advance . @Jay Kumar SenSharma can you please check above and help me out
... View more
01-11-2018
07:20 AM
I am planning to build cluster with the help of ambari-blueprint option . I am referring below link to achieve same but some of doubts are there please help me out to understand better. https://cwiki.apache.org/confluence/display/AMBARI/Blueprints#Blueprints-BlueprintUsageOverview please find below confusion I have : Step 1: Create Blueprint I want to create blueprint exporting from other cluster , my doubt is if i export blueprint from other cluster then if kerberos is implemented in the cluster and HA is achieved then will all configuration reflect in the blueprint ? Is mapping of hosts to its component also comes when we export ambari blueprint from other cluster ? command I am using to export blueprint : GET /api/v1/clusters/:clusterName?format=blueprint and saving this file to some name , that is name of my blueprint which i will use to register with server . Step 2: Register Blueprint with Ambari : POST /api/v1/blueprints/:blueprintName?validate_topology=false what is the use of validate_topology ? Step 3: Create Cluster Creation Template : How to achieve this step as specified in the link "configuration can be applied at the cluster and host group scope and overrides any configurations specified in the blueprint." [ Request Body is above Cluster Creation Template ] ------> What does it signify ? Note : I am much confused with all these steps if my doubts do not present clear understanding please provide your suggestions, if possible step wise, my requirement is to export ambari blueprint from other cluster and use this blueprint to build cluster. I am able to manually setup ambari blueprint but exporting the blueprint and then all the whole procedure I am not very clear with .
... View more
Labels:
- Labels:
-
Apache Ambari
01-09-2018
07:27 AM
@Jay Kumar SenSharma thanks Jay
... View more
01-09-2018
07:01 AM
I am planning to automate cluster installation with the help of ambari blueprint . I have gone through below link to follow the steps for cluster installation but I have some of queries . please some one help me out . https://community.hortonworks.com/content/kbentry/47171/automate-hdp-installation-using-ambari-blueprints-1.html I have some of queries : ambari blueprint is alternative of cluster installation through ambari but before proceeding with this step we have to complete prerequisites and start ambari -server ? when we create hostmapping.json file : {
"blueprint" : "multinode-hdp",
"default_password" :
"hadoop", } what is use of default_password in above ?
... View more
Labels:
- Labels:
-
Apache Ambari
01-08-2018
10:18 AM
While setting up multi node cluster it is recommended to disable iptables as well as firewall , can some body please explain why do we need to off these two services while setting up cluster .
... View more
01-04-2018
07:14 AM
I am creating a table and inserting data into it , but when i do list table_name , it shows me NameError: uninitialized constant error in table_name
... View more
Labels:
- Labels:
-
Apache HBase
12-04-2017
07:38 AM
when we perform service check for particular service like oozie , hive , habse ..etc we click on service actions and then run on service check but I am interested to know what operations are covered when we run service check for various services . Is there some rest api to details of operations performed when we click on run service check for particular service ?
... View more
Labels:
- Labels:
-
Apache Ambari
11-29-2017
07:23 AM
it is starting thanks
... View more