Do all Ambari services get added to the hadoop group? When adding another product as a custom services in ambari is there a requirement that it is added to the hadoop group on the linux servers? Or is that only for services with in the stack?
Based on the description on Hadoop services and Hadoop (https://docs.hortonworks.com/HDPDocuments/Ambari-188.8.131.52/bk_ambari-administration/content/defining_service_users_and_groups_for_a_hdp_2x_stack.html), all components in the stack belong to hadoop group. Further, atlas, ranger, ranger kms, knox, and spark has additional group atlas, ranger, kms, knox and spark respectively.
I am not sure what other components you want add to Ambari besides the ones in the stack. It is really depends on what data this component want to access. Based on that, we can add group for that user.