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

ASF GitHub Bot commented on ACCUMULO-4706:
------------------------------------------

mikewalch commented on a change in pull request #1: ACCUMULO-4706 Initial 
implementation of Accumulo docker image
URL: https://github.com/apache/accumulo-docker/pull/1#discussion_r148012437
 
 

 ##########
 File path: Dockerfile
 ##########
 @@ -0,0 +1,52 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+FROM centos:7
+
+RUN yum install -y java-1.8.0-openjdk-devel make gcc-c++
+ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk
+
+ARG HADOOP_VERSION
+ARG HADOOP_USER_NAME
+ARG ZOOKEEPER_VERSION
+
+ENV HADOOP_VERSION ${HADOOP_VERSION:-2.7.3}
 
 Review comment:
   Sounds good.  I will update to 2.7.4

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Create official Accumulo Docker image
> -------------------------------------
>
>                 Key: ACCUMULO-4706
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4706
>             Project: Accumulo
>          Issue Type: New Feature
>          Components: scripts, start
>    Affects Versions: 2.0.0
>            Reporter: Mike Walch
>            Assignee: Mike Walch
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> While there are some [Accumulo 
> images|https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=accumulo&starCount=0]
>  on DockerHub, it looks the majority of the them are designed to run a 
> single-node Accumulo instance in a Docker container for development and 
> testing.
> It would be great if Accumulo had an official image for running Accumulo 
> processes in containers on a production cluster.  The image could be be 
> published as an official image 'apache/accumulo' to DockerHub.  
> In order to make this possible, I think work needs to be done to allow 
> configuration to be passed to the Accumulo process in the docker container 
> without using configuration files (as passing files to a running container is 
> hard in Docker).  One way to do this is to add an option called 
> {{--upload-accumulo-site}} to 'accumulo init' command which is called outside 
> of Docker by the user.  This would set properties in accumulo-site.xml as 
> system properties in Zookeeper during Accumulo initialization.  Accumulo 
> processes in Docker containers could be started with minimal configuration by 
> updating 'accumulo <service>' commands to have a {{-o key=value}} option to 
> override configuration.  These changes to Accumulo would enable the following 
> commands to start an Accumulo cluster in Docker:
> {noformat}
> accumulo init --upload-accumulo-site
> docker pull apache/accumulo
> docker run apache/accumulo master -o instance.zookeeper.host=zkhost:2181
> docker run apache/accumulo tserver -o instance.zookeeper.host=zkhost:2181
> docker run apache/accumulo monitor -o instance.zookeeper.host=zkhost:2181
> docker run apache/accumulo tracer -o instance.zookeeper.host=zkhost:2181
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to