Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04E8CF661 for ; Sun, 14 Dec 2014 23:20:36 +0000 (UTC) Received: (qmail 86426 invoked by uid 500); 14 Dec 2014 23:20:35 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 86370 invoked by uid 500); 14 Dec 2014 23:20:35 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 86360 invoked by uid 99); 14 Dec 2014 23:20:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Dec 2014 23:20:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david.medinets@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Dec 2014 23:20:09 +0000 Received: by mail-wg0-f49.google.com with SMTP id n12so13244025wgh.36 for ; Sun, 14 Dec 2014 15:20:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6lQQYknBFUG+DRuf8xs4RMVHPwHP/c9ChpNrCyYCNcg=; b=fdPifno1qyuyrKJ+Jn5LF5pa3SXRQdKIhDPzw4e4DV1UhQui5uumImI49hNFgYRxgI dIWA0GyPa4b8KXa6H9WdI73z7hmt6cXxmyShOH/v2O2Wa/3iOlRi2aIRgsc9/qvUxoeQ nmVISmhi/+PZzmgdiNDLXWChCgbGKjxGxxpve3uQvjFfako+73Ledq7pYJjeqeDncAo7 ciY2fvQf6jk3RtT7dV33NRap+cpaiKoyL7qoLBcgnaqV17TXGUQayns9ABDxnEp51KD3 4+vwQcbw3yTpwiwcWrZGMGbonH4G8ECn8wVF/1vK6vApD69oomchthS74Xx4FlTHZmPq dLrQ== MIME-Version: 1.0 X-Received: by 10.180.94.230 with SMTP id df6mr26871540wib.25.1418599208933; Sun, 14 Dec 2014 15:20:08 -0800 (PST) Received: by 10.194.184.6 with HTTP; Sun, 14 Dec 2014 15:20:08 -0800 (PST) Date: Sun, 14 Dec 2014 18:20:08 -0500 Message-ID: Subject: jodoc update (MAC in Docker) From: David Medinets To: accumulo-user Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org You can start a MAC with one command if you use Docker. Could using Accumulo get any easier? docker run \ -e JAVA_USER=${USER} \ -e MONITOR_PORT=20001 \ -e ZOOKEEPER_PORT=20000 \ -d \ --net=host \ -t medined/jodoc This command downloads a 300MB image from Docker Hub. If you want more control, you can mount a host directory as a volume in the instance and change the TServer count. After the MAC starts up, you can easily look into the conf directory to check settings. You could also examine any .rf files that are created. export WORKDIR=~/my-miniaccumulo-cluster rm -rf $WORKDIR/* mkdir -p $WORKDIR docker run \ -v $WORKDIR:/accumulo \ -e TSERVER_COUNT=20 \ -e JAVA_USER=${USER} \ -e MONITOR_PORT=20001 \ -e ZOOKEEPER_PORT=20000 \ -d \ --net=host \ -t medined/jodoc There is one more feature. If you specify the ACCUMULO_SCHEMA as D4M those tables will be created and pre-split for you: export WORKDIR=~/my-miniaccumulo-cluster rm -rf $WORKDIR/* mkdir -p $WORKDIR docker run \ -v $WORKDIR:/accumulo \ -e TSERVER_COUNT=20 \ -e ACCUMULO_SCHEMA=D4M \ -e JAVA_USER=${USER} \ -e MONITOR_PORT=20001 \ -e ZOOKEEPER_PORT=20000 \ -d \ --net=host \ -t medined/jodoc