accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-4706) Create official Accumulo Docker image
Date Mon, 30 Oct 2017 18:12:01 GMT


ASF GitHub Bot commented on ACCUMULO-4706:

mikewalch commented on a change in pull request #1: ACCUMULO-4706 Initial implementation of
Accumulo docker image

 File path:
 @@ -0,0 +1,57 @@
+# 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
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# See the License for the specific language governing permissions and
+# limitations under the License.
+## Log4j 1.2 file that configures logging for all Accumulo services (Master, TabletServer,
GC, and Tracer) except Monitor
+## The system properties referenced below are configured by
+## Define a console appender
+log4j.appender.console.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %m%n
+## Define an appender to send important logs to the the primary Accumulo Monitor
+## The primary monitor is the one currently holding a shared lock in ZooKeeper,
+## and is typically the one that started first.
+## Uncomment to define a log file appender for audit logs
 Review comment:
   I will remove

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:

> Create official Accumulo Docker image
> -------------------------------------
>                 Key: ACCUMULO-4706
>                 URL:
>             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|]
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
> docker run apache/accumulo tserver -o
> docker run apache/accumulo monitor -o
> docker run apache/accumulo tracer -o
> {noformat}

This message was sent by Atlassian JIRA

View raw message