[ https://issues.apache.org/jira/browse/EAGLE-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15024232#comment-15024232 ]
ASF GitHub Bot commented on EAGLE-53: ------------------------------------- Github user haoch commented on the pull request: https://github.com/apache/incubator-eagle/pull/4#issuecomment-159226275 `eagle-deploy-cluster` failed with following exception while executing `Ganglia Server Start` in amabri ~~~ 2015-11-24 05:37:15,820 - Execute['grep -E 'KeepAlive (On|Off)' /etc/httpd/conf/httpd.conf && sed -i 's/KeepAlive Off/KeepAlive On/' /etc/httpd/conf/httpd.conf || echo 'KeepAlive On' >> /etc/httpd/conf/httpd.conf'] {} 2015-11-24 05:37:15,841 - Execute['/etc/init.d/httpd start'] {} 2015-11-24 05:37:15,897 - Error while executing command 'start': Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 123, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_server.py", line 44, in start ganglia_server_service.server("start") File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_server_service.py", line 27, in server MonitorWebserver("restart") 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 149, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/monitor_webserver.py", line 41, in action_restart self.action_start() File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/monitor_webserver.py", line 32, in action_start Execute(format("/etc/init.d/{service_name} start")) 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 149, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 241, in action_run raise ex Fail: Execution of '/etc/init.d/httpd start' returned 1. Starting httpd: (2)No such file or directory: httpd: could not open error log file /etc/httpd/logs/error_log. Unable to open logs [FAILED] ~~~ > Docker Image for Eagle > ---------------------- > > Key: EAGLE-53 > URL: https://issues.apache.org/jira/browse/EAGLE-53 > Project: Eagle > Issue Type: New Feature > Affects Versions: 0.3.0 > Environment: docker 1.9.0 > Reporter: ZhaokunQin > Assignee: Hao Chen > Fix For: 0.3.0 > > > This is docker container for eagle to help users to have a quick preview > about eagle features. And this project is to build apache/eagle images and > provide eagle-functions to start the containers of eagle. > Prerequisite > ========= > Docker environment (see https://www.docker.com) > Installation & Usage > =============== > 1. [Build Image]: Go to the root directory where the Dockerfile is in, build > image with following command: > {code} > docker built -t apache/eagle . > {code} > The docker image is named apache/eagle. Eagle docker image is based on > ambari:1.7.0, it will install ganglia, hbase,hive,storm,kafka and so on in > this image. Add startup script and buleprint file into image. > 2. [Verify Image: After building the apache/eagle image successfully, verify > the images and could find eagle image. > {code} > docker images > {code} > 3. [Deploy Image]: This project also provides helper functions in script > eagle-functions for convenience. > {code} > # Firstly, load the helper functions into context > source eagle-functions > # Secondly, start to deploy eagle cluster > # (1) start single-node container > eagle-deploy-cluster 1 > # (2) Or muti-node containers > eagle-deploy-cluster 3 > {code} > 4. [Find IP and Port Mapping]: After the container is up and running. The > first thing you need to do is finding the IP address and port mapping of the > docker container: > {code} > docker inspect -f '{{ .NetworkSettings.IPAddress }}' eagle-server > docker ps > {code} > 5. [Start to use Eagle]: Congratulations! You are able to start using Eagle > now. Please open eagle ui at following address (username: ADMIN, password: > secret by default) > {code} > http://{{container_ip}}:9099 > {code} > 6. [Manage Eagle Cluster]: This step is about how to managing the eagle > cluster though not must-have at starting. Eagle docker depends on Ambari to > manage the cluster infrastructure of Eagle. Following are some helpful links: > * Ambari UI: http://{{container_ip}}:8080 (username: ADMIN, password: ADMIN) > * Storm UI: http://{{container_ip}}:8744 -- This message was sent by Atlassian JIRA (v6.3.4#6332)