ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-8957) Non-root install: Ganglia Monitor Install issue
Date Tue, 30 Dec 2014 14:54:13 GMT
Andrew Onischuk created AMBARI-8957:
---------------------------------------

             Summary: Non-root install: Ganglia Monitor Install issue
                 Key: AMBARI-8957
                 URL: https://issues.apache.org/jira/browse/AMBARI-8957
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.0.0


Ganglia Monitor installation fails in a non-root ambari agent installation
scenario. Look at the setupGanglia.sh invocation.

    
    
    2014-12-29 09:54:16,305 - Execute['/usr/libexec/hdp/ganglia/setupGanglia.sh -c HDPSlaves
-o root -g hadoop'] {'path': ['/usr/libexec/hdp/ganglia', '/usr/sbin', '/sbin:/usr/local/bin',
'/bin', '/usr/bin']}
    2014-12-29 09:54:16,325 - Error while executing command 'install':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 142, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/common-services/GANGLIA/3.5.0/package/scripts/ganglia_monitor.py",
line 35, in install
        self.configure(env)
      File "/var/lib/ambari-agent/cache/common-services/GANGLIA/3.5.0/package/scripts/ganglia_monitor.py",
line 79, in configure
        self.generate_slave_configs()
      File "/var/lib/ambari-agent/cache/common-services/GANGLIA/3.5.0/package/scripts/ganglia_monitor.py",
line 131, in generate_slave_configs
        group = params.user_group)
      File "/var/lib/ambari-agent/cache/common-services/GANGLIA/3.5.0/package/scripts/ganglia.py",
line 96, in generate_daemon
        "/sbin:/usr/local/bin", "/bin", "/usr/bin"]
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148,
in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
151, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
117, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 264, in action_run
        raise ex
    Fail: Execution of '/usr/libexec/hdp/ganglia/setupGanglia.sh -c HDPSlaves -o root -g hadoop'
returned 1. mkdir: cannot create directory `/var/run/ganglia': Permission denied
    chmod: cannot access `/var/run/ganglia/hdp': No such file or directory
    chown: changing ownership of `/etc/ganglia/hdp': Operation not permitted
    mkdir: cannot create directory `/var/run/ganglia': Permission denied
    mkdir: cannot create directory `/etc/ganglia/hdp/HDPSlaves': Permission denied
    /usr/libexec/hdp/ganglia/setupGanglia.sh: line 66: /etc/ganglia/hdp/HDPSlaves/gmond.core.conf:
No such file or directory
    /usr/libexec/hdp/ganglia/setupGanglia.sh: line 73: /etc/ganglia/hdp/HDPSlaves/conf.d/gmond.slave.conf:
No such file or directory
    chown: cannot access `/etc/ganglia/hdp/HDPSlaves': No such file or directory
    





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message