Member since
03-21-2018
20
Posts
0
Kudos Received
0
Solutions
04-19-2018
12:16 PM
@Jay Kumar SenSharma For example , I have two hosts in a cluster hostA, HostB HostA is on rack-1 and HostB is on rack-2 Services components running in hostA are HDFS_CLINET, ZOOKEEPER,NAMENODE..etc Services components running in hostB are HBASE, AMABRI_METRICS,DATANODE...etc I want get result from api like Host: HostA, Service_component : NAMENODE, rack_info: rack-1 HostA, Service_component : ZOOKEEPER, rack_info: rack-1 HostB, Service_component : DATANODE, rack_info: rack-2 --------------------------------------
... View more
04-19-2018
12:03 PM
@Jay Kumar SenSharma
Thanks Jay!! My requirement to check each service get host name and rack info.Can we achieve this in one api. Appreciate your help.
... View more
04-19-2018
11:23 AM
Do we have any api to get rack info of each /service in an ambari cluster
... View more
Labels:
- Labels:
-
Apache Ambari
04-13-2018
02:08 PM
@Jay Kumar SenSharma Thanks for the reply!! I am setting database in other than ambari-server (other host). How to do that setup. How ambari will know which database needs to be connected. Please help Regards.
... View more
04-13-2018
12:42 PM
I want to use external ( location other than ambari-server host) database (MariaDB or Oracle 11g) for Ambari. Can any one help me to know the steps to be followed.
... View more
Labels:
- Labels:
-
Apache Ambari
03-26-2018
03:12 PM
I set below properties in blueprint still its creating some groups and users { "kafka-env" : { "properties_attributes" : { }, "properties" : { "kafka_user" : "{{ ambari_user_prefix }}-kafka" }}}, { "ams-env" : { "properties_attributes" : { }, "properties" : { "ambari_metrics_user" : "{{ ambari_user_prefix }}-ams" }}}, { "zookeeper-env" : { "properties_attributes" : { }, "properties" : { "zk_user" : "{{ ambari_user_prefix }}-zookeeper" }}}, { "cluster-env" : { "properties_attributes" : { }, "properties" : { "user_group" : "{{ ambari_user_prefix }}-hadoop", "smokeuser" : "{{ ambari_user_prefix }}-ambari-qa" }},{ "hbase-env" : { "properties_attributes" : { }, "properties" : { "hbase_user" : "{{ ambari_user_prefix }}-hbase", }}}, { "hadoop-env" : { "properties_attributes" : { }, "properties" : { "hdfs_user" : "{{ ambari_user_prefix }}-hdfs", }}}, { "hdfs-site" : { "properties" : { "dfs.permissions.superusergroup" : "{{ ambari_user_prefix }}-hdfs", "dfs.cluster.administrators" : " {{ ambari_user_prefix }}-hdfs", "dfs.block.local-path-access.user" : "{{ ambari_user_prefix }}-hbase" }} { "kafka-broker" : { "properties" : { "kafka.ganglia.metrics.group" : "{{ ambari_user_prefix }}-kafka" } { "core-site" : { "properties" : { "hadoop.proxyuser.{{ ambari_user_prefix }}-hbase.hosts" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-hbase.groups" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-hdfs.groups" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-hdfs.hosts" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-kafka.groups" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-kafka.hosts" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-zookeeper.groups" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-zookeeper.hosts" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-mapred.groups" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-mapred.hosts" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-yarn.groups" : "*", "hadoop.proxyuser.{{ ambari_user_prefix }}-yarn.hosts" : "*", "fs.defaultFS" : "hdfs://{{ ambari_cluster_name }}", "ha.zookeeper.quorum" : "%HOSTGROUP::master_0%:12181,%HOSTGROUP::master_1%:12181,%HOSTGROUP::master_2%:12181" } Groups created vcp-9999-hdfs:x:16031:vcp-9999-hdfs vcp-9999-hadoop:x:16032:vcp-9999-zookeeper,vcp-9999-hbase,vcp-9999-kafka,vcp-9999-ams,vcp-9999-hdfs zookeeper:x:498: hadoop:x:497: yarn:x:496: mapred:x:495: hdfs:x:494: Users created vcp-9999-zookeeper:x:16028:16032::/home/vcp-9999-zookeeper:/bin/bash vcp-9999-hbase:x:16031:16032::/home/vcp-9999-hbase:/bin/bash vcp-9999-ambari-qa:x:16034:16032::/home/vcp-9999-ambari-qa:/bin/bash vcp-9999-kafka:x:16035:16032::/home/vcp-9999-kafka:/bin/bash vcp-9999-ams:x:16038:16032::/home/vcp-9999-ams:/bin/bash vcp-9999-hdfs:x:16039:16032::/home/vcp-9999-hdfs:/bin/bash kafka:x:995:492:KAFKA:/home/kafka:/bin/bash Can any one help to explain that why groups and users created ( in bold text) even though I have added properties. How can we remove these users at the time of creation. Thanks!
... View more
03-22-2018
10:43 AM
Thanks All !! Let me try...Appreciate your help.
... View more