All Projects → apache → accumulo-docker

apache / accumulo-docker

Licence: Apache-2.0 license
Apache Accumulo Docker

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to accumulo-docker

masc
Microsoft's contributions for Spark with Apache Accumulo
Stars: ✭ 20 (+17.65%)
Mutual labels:  big-data, accumulo
Gaffer
A large-scale entity and relation database supporting aggregation of properties
Stars: ✭ 1,642 (+9558.82%)
Mutual labels:  big-data, accumulo
accumulo-testing
Apache Accumulo Testing
Stars: ✭ 14 (-17.65%)
Mutual labels:  big-data, accumulo
Aws Etl Orchestrator
A serverless architecture for orchestrating ETL jobs in arbitrarily-complex workflows using AWS Step Functions and AWS Lambda.
Stars: ✭ 245 (+1341.18%)
Mutual labels:  big-data
Data Accelerator
Data Accelerator for Apache Spark simplifies onboarding to Streaming of Big Data. It offers a rich, easy to use experience to help with creation, editing and management of Spark jobs on Azure HDInsights or Databricks while enabling the full power of the Spark engine.
Stars: ✭ 247 (+1352.94%)
Mutual labels:  big-data
Hyperspace
An open source indexing subsystem that brings index-based query acceleration to Apache Spark™ and big data workloads.
Stars: ✭ 246 (+1347.06%)
Mutual labels:  big-data
bullet-core
Bullet is a streaming query engine that can be plugged into any singular data stream using a Stream Processing framework like Apache Storm, Spark or Flink.
Stars: ✭ 36 (+111.76%)
Mutual labels:  big-data
Kafka Ui
Open-Source Web GUI for Apache Kafka Management
Stars: ✭ 230 (+1252.94%)
Mutual labels:  big-data
bagri
XML/Document DB on top of distributed cache
Stars: ✭ 40 (+135.29%)
Mutual labels:  big-data
Detecting-Malicious-URL-Machine-Learning
No description or website provided.
Stars: ✭ 47 (+176.47%)
Mutual labels:  big-data
predictionio-template-recommender
PredictionIO Recommendation Engine Template (Scala-based parallelized engine)
Stars: ✭ 80 (+370.59%)
Mutual labels:  big-data
Cboard
An easy to use, self-service open BI reporting and BI dashboard platform.
Stars: ✭ 2,795 (+16341.18%)
Mutual labels:  big-data
predictionio-sdk-ruby
PredictionIO Ruby SDK
Stars: ✭ 192 (+1029.41%)
Mutual labels:  big-data
incubator-tez
Mirror of Apache Tez (Incubating)
Stars: ✭ 60 (+252.94%)
Mutual labels:  big-data
Social-Network-Analysis-in-Python
Social Network Facebook Analysis (Python, Networkx)
Stars: ✭ 26 (+52.94%)
Mutual labels:  big-data
Clickhouse
ClickHouse® is a free analytics DBMS for big data
Stars: ✭ 21,089 (+123952.94%)
Mutual labels:  big-data
Trafodion
Apache Trafodion
Stars: ✭ 242 (+1323.53%)
Mutual labels:  big-data
acousticbrainz-server
The server components for the AcousticBrainz project
Stars: ✭ 128 (+652.94%)
Mutual labels:  big-data
twitter-archive-reader
Full featured TypeScript Twitter archive reader and browser
Stars: ✭ 43 (+152.94%)
Mutual labels:  big-data
Koalas
Koalas: pandas API on Apache Spark
Stars: ✭ 3,044 (+17805.88%)
Mutual labels:  big-data

Apache Accumulo Docker Image

This is the first release of this project. Eventually, this project will create an apache/accumulo image at DockerHub. Until then, you will need to build your own image. The main branch of this repo creates a Docker image for Accumulo 2.0+. If you want to create a Docker image for Accumulo 1.9, there is a 1.9 branch for that.

Obtain the Docker image

To obtain the docker image created by this project, you can either pull it from DockerHub at apache/accumulo or build it yourself. To pull the image from DockerHub, run the command below:

docker pull apache/accumulo

While it is easier to pull from DockerHub, the image will default to the software versions below:

Software Version
Accumulo 2.1.0
Hadoop 3.3.4
ZooKeeper 3.8.0

If these versions do not match what is running on your cluster, you should consider building your own image with matching versions. However, Accumulo must be 2.0.0+. Below are instructions for building an image:

  1. Clone the Accumulo docker repo

     git clone [email protected]:apache/accumulo-docker.git
    
  2. Build the default Accumulo docker image using the command below.

     cd /path/to/accumulo-docker
     docker build -t accumulo .
    

    Or build the Accumulo docker image with specific released versions of Hadoop, Zookeeper, etc that will downloaded from Apache using the command below:

     docker build --build-arg ZOOKEEPER_VERSION=3.4.8 --build-arg HADOOP_VERSION=2.7.0 -t accumulo .
    

    Or build with an Accumulo tarball (located in same directory as DockerFile) using the command below:

     docker build --build-arg ACCUMULO_FILE=accumulo-2.1.0-SNAPSHOT-bin.tar.gz -t accumulo .
    

Image basics

The entrypoint for the Accumulo docker image is the accumulo script. While the primary use case for this image is to start Accumulo processes (i.e tserver, master, etc), you can run other commands in the accumulo script to test out the image:

# No arguments prints Accumulo command usage
docker run accumulo
# Print Accumulo version
docker run accumulo version
# Print Accumulo classpath
docker run accumulo classpath

Run Accumulo using Docker

Before you can run Accumulo services in Docker, you will need to install Accumulo, configure accumulo.properties, and initialize your instance with --upload-accumulo-props. This will upload configuration to Zookeeper and limit how much configuration needs to be set on the command line.

$ accumulo init --upload-accumulo-props
...
Uploading properties in accumulo.properties to Zookeeper. Properties that cannot be set in Zookeeper will be skipped:
Skipped - instance.secret = <hidden>
Skipped - instance.volumes = hdfs://localhost:8020/accumulo
Skipped - instance.zookeeper.host = localhost:2181
Uploaded - table.durability = flush
Uploaded - tserver.memory.maps.native.enabled = false
Uploaded - tserver.readahead.concurrent.max = 64
Uploaded - tserver.server.threads.minimum = 64
Uploaded - tserver.walog.max.size = 512M

Any configuration that is skipped above will need to be passed in as a command line option to Accumulo services running in Docker containers. These options can be set in an environment variable which is used in later commands.

export ACCUMULO_CL_OPTS="-o instance.secret=mysecret -o instance.volumes=hdfs://localhost:8020/accumulo -o instance.zookeeper.host=localhost:2181"

The Accumulo docker image expects that the HDFS path set by instance.volumes is owned by the accumulo user. This can be accomplished by running the command below (replace the HDFS path with yours):

hdfs dfs -chown -R accumulo hdfs://localhost:8020/accumulo

Docker engine

Use the docker command to start local docker containers. The commands below will start a local Accumulo cluster with two tablet servers.

docker run -d --network="host" accumulo monitor $ACCUMULO_CL_OPTS
docker run -d --network="host" accumulo tserver $ACCUMULO_CL_OPTS
docker run -d --network="host" accumulo tserver $ACCUMULO_CL_OPTS
docker run -d --network="host" accumulo master $ACCUMULO_CL_OPTS
docker run -d --network="host" accumulo gc $ACCUMULO_CL_OPTS

If you would like to set Java heap size inside the Docker container, start the local docker container using the command below:

docker run -e ACCUMULO_JAVA_OPTS='-Xmx1g' -d --network="host" accumulo tserver $ACCUMULO_CL_OPTS

Marathon

Using the Marathon UI, you can start Accumulo services using the following JSON configuration template. The template is configured to start an Accumulo monitor but it can be modified to start other Accumulo services such as master, tserver and gc. For tablet servers, set instances to the number of tablet servers that you want to run.

{
  "id": "accumulo-monitor",
  "cmd": "accumulo monitor -o instance.secret=mysecret -o instance.volumes=hdfs://localhost:8020/accumulo -o instance.zookeeper.host=localhost:2181",
  "cpus": 1,
  "mem": 512,
  "disk": 0,
  "instances": 1,
  "container": {
    "docker": {
      "image": "apache/accumulo",
      "network": "HOST"
    },
    "type": "DOCKER"
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].