[ https://issues.apache.org/jira/browse/EAGLE-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15024157#comment-15024157 ]
ASF GitHub Bot commented on EAGLE-53: ------------------------------------- Github user haoch commented on a diff in the pull request: https://github.com/apache/incubator-eagle/pull/4#discussion_r45715683 --- Diff: eagle-external/eagle-docker/Dockerfile --- @@ -0,0 +1,24 @@ +FROM sequenceiq/ambari:1.7.0 + +MAINTAINER Zqin + +ENV EAGLE_DOWNLOAD_LINK http://66.211.190.194/eagle-0.1.0.tar.gz + +RUN curl -sL $EAGLE_DOWNLOAD_LINK | tar -xz -C /usr/local/ +RUN cd /usr/local && ln -s ./eagle-0.1.0 eagle +ENV EAGLE_HOME=/usr/local/eagle + + +RUN yum install -y httpd ganglia ganglia-gmetad ganglia-gmond ganglia-web nagios kafka zookeeper storm hbase tez hadoop snappy snappy-devel hadoop-libhdfs ambari-log4j hive hive-hcatalog hive-webhcat webhcat-tar-hive webhcat-tar-pig mysql-connector-java mysql-server + +ADD serf /usr/local/serf + +RUN mkdir -p /var/log/httpd + --- End diff -- Add to add "RUN mkdir -p /etc/httpd/logs/" as well for resolving exception: /etc/init.d/httpd start 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 > > > Eagle in Docker > Docker image for Apache Eagle http://eagle.incubator.apache.org > 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 > Build Image: Go to the root directory where the Dockerfile is in, build image > with following command: > docker built -t apache/eagle . > 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. > Verify Image: After building the apache/eagle image successfully, verify the > images and could find eagle image. > docker images > Deploy Image: This project also provides helper functions in script > eagle-functions for convenience. > # 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 > 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: > docker inspect -f '{{ .NetworkSettings.IPAddress }}' eagle-server > docker ps > 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) > http://{{container_ip}}:9099 > 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)