ambari-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/AMBARI-8957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261197#comment-14261197
] 

Hudson commented on AMBARI-8957:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit-docker #631 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/631/])
AMBARI-8957. Non-root install: Ganglia Monitor Install issue (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b4c48c262fe0b0cfadcae5be8d2860eecff9d1cf)
* ambari-server/src/main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_monitor_service.py
* ambari-server/src/main/resources/common-services/GANGLIA/3.5.0/package/templates/gangliaLib.sh.j2
* ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_monitor.py
* ambari-server/src/main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py
* ambari-agent/src/test/python/resource_management/TestMonitorWebserverResource.py
* ambari-server/src/main/resources/common-services/GANGLIA/3.5.0/package/scripts/functions.py
* ambari-common/src/main/python/resource_management/libraries/providers/monitor_webserver.py
* ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py
* ambari-server/src/main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server_service.py
* ambari-server/src/main/resources/common-services/GANGLIA/3.5.0/package/files/setupGanglia.sh


> 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