You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/30 17:27:00 UTC

[jira] [Commented] (ACCUMULO-4706) Create official Accumulo Docker image

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

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

mikewalch opened a new pull request #1: ACCUMULO-4706 Initial implementation of Accumulo docker image
URL: https://github.com/apache/accumulo-docker/pull/1
 
 
   

----------------------------------------------------------------
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:
users@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
>
> 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)