Support Questions
Find answers, ask questions, and share your expertise

Setting Blueprint Properties for users and groups are not working 100%

Highlighted

Setting Blueprint Properties for users and groups are not working 100%

I set below properties in blueprint , still its creating some default groups and users( highlighted in bold text)

Blueprint properties

{"kafka-env" : {"properties_attributes" : { },"properties" : {"kafka_user" : "vcp-9999-kafka"}}},
{"ams-env" : {"properties_attributes" : { },"properties" : {"ambari_metrics_user" : "vcp-9999-ams"}}},
{"zookeeper-env" : {"properties_attributes" : { },"properties" : {"zk_user" : "vcp-9999-zookeeper"}}},
{"cluster-env" : {"properties_attributes" : { },"properties" : {
"user_group" : "vcp-9999-hadoop",
"smokeuser" : "vcp-9999-ambari-qa"
}}},
{"hbase-env" : {"properties_attributes" : { },"properties" : {"hbase_user" : "vcp-9999-hbase"}}},
{"hadoop-env" : {"properties_attributes" : { },"properties" : {"hdfs_user" : "vcp-9999-hdfs"}}},

{"hdfs-site" : {"properties" : {
"dfs.permissions.superusergroup" : "vcp-9999-hdfs",
"dfs.cluster.administrators" : " vcp-9999-hdfs",
"dfs.block.local-path-access.user" : "vcp-9999-hbase"
}}}

{"kafka-broker" : {"properties" : {"kafka.ganglia.metrics.group" : "vcp-9999-kafka"}

{"core-site" : {
"properties" : {
"hadoop.proxyuser.vcp-9999-hbase.hosts" : "*",
"hadoop.proxyuser.vcp-9999-hbase.groups" : "*",
"hadoop.proxyuser.vcp-9999-hdfs.groups" : "*",
"hadoop.proxyuser.vcp-9999-hdfs.hosts" : "*",
"hadoop.proxyuser.vcp-9999-kafka.groups" : "*",
"hadoop.proxyuser.vcp-9999-kafka.hosts" : "*",
"hadoop.proxyuser.vcp-9999-zookeeper.groups" : "*",
"hadoop.proxyuser.vcp-9999-zookeeper.hosts" : "*",
"hadoop.proxyuser.vcp-9999-mapred.groups" : "*",
"hadoop.proxyuser.vcp-9999-mapred.hosts" : "*",
"hadoop.proxyuser.vcp-9999-yarn.groups" : "*",
"hadoop.proxyuser.vcp-9999-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!