Thanks Aman. I have already been using sudo when start ambari server and ambari agent.
Per https://community.hortonworks.com/questions/118525/nagios-and-ganglia-integation-into-ambari.html, looks like nagios and ganglia are deprecated for ambari. Let me know if I misunderstood anything. Thanks. On Mon, Feb 19, 2018 at 12:53 AM, aman poonia <[email protected]> wrote: > Ambari is not running as root so ambari user doesnot have the user > creation permission. So best way is either run it as root or change the > default user of GANGLIA to a user which is already present on the system. > > -- > *With Regards,* > *Aman Poonia* > > On Mon, Feb 19, 2018 at 11:24 AM, Lian Jiang <[email protected]> > wrote: > >> I tried to install ganglia-server using blueprint like: >> >> "host_groups" : [ >> { >> "name" : "master_host_group", >> "components" : [ >> { >> "name" : "NAMENODE" >> }, >> { >> "name" : "SECONDARY_NAMENODE" >> }, >> { >> "name" : "APP_TIMELINE_SERVER" >> }, >> { >> "name" : "RESOURCEMANAGER" >> }, >> { >> "name" : "HISTORYSERVER" >> }, >> { >> "name" : "ZOOKEEPER_SERVER" >> }, >> { >> "name" : "SPARK2_JOBHISTORYSERVER" >> }, >> { >> "name" : "OOZIE_SERVER" >> }, >> { >> "name" : "ZEPPELIN_MASTER" >> }, >> * {* >> * "name" : "GANGLIA_SERVER"* >> * }* >> ], >> "cardinality" : "1" >> }, >> >> However, it failed due to: >> >> resource_management.core.exceptions.Fail: User 'apache' doesn't exist. >> >> The complete log file is attached. I don't understand why ambari cannot >> create whatever it need to make the work done. Without GANGLIA_SERVER, the >> blueprint can successfully create a hadoop cluster. >> >> I am using horton ambari 2.6.4. >> >> Appreciate any clue. Thanks. >> >> >> >
