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 2F84EDAFA for ; Wed, 17 Oct 2012 14:57:33 +0000 (UTC) Received: (qmail 48015 invoked by uid 500); 17 Oct 2012 14:57:33 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 47965 invoked by uid 500); 17 Oct 2012 14:57:33 -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 47957 invoked by uid 99); 17 Oct 2012 14:57:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 14:57:32 +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 eric.newton@gmail.com designates 209.85.216.41 as permitted sender) Received: from [209.85.216.41] (HELO mail-qa0-f41.google.com) (209.85.216.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 14:57:26 +0000 Received: by mail-qa0-f41.google.com with SMTP id c4so671322qae.0 for ; Wed, 17 Oct 2012 07:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=AlMABOhR2ybSyyCmr3HxT7TQmlo6+xzl/agLnzEdL/Y=; b=BUUm7ZRHLeUtyuiqde7Ck3qvHVGTKTwENfEBcjCErYjpFdNRAk67uBhIx1jw5wJ7J7 CWRAPXgbXe+xJDMX+ubiwIcH9H+p0gSlVD0Xb+wWGnE1ldKHIrScRiZzsGTmOZfCdQEl y0AUaPQAf57NOgbqz5YS88OYbxKDTuYrSbZ7ToaItNcofmOoXX79E1p/Pn+mhHyaIvCJ Qak/N7M/HVRpg/RhHzhBk7n/z+KnPDh/zjOcygE+DGe2+XGagN7ma9tNrk2IVxWD1F6q 8nqeKNYx/EEJgYG7pmncRrQAN35j5jeyTUhLSjNLaKiIMcHyzOUrNNgDwsr2yGiYSy4v eswA== MIME-Version: 1.0 Received: by 10.224.107.5 with SMTP id z5mr32128941qao.41.1350485825670; Wed, 17 Oct 2012 07:57:05 -0700 (PDT) Received: by 10.229.103.221 with HTTP; Wed, 17 Oct 2012 07:57:05 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Oct 2012 10:57:05 -0400 Message-ID: Subject: Re: Accumulo Direct Reader From: Eric Newton To: user@accumulo.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org See InputFormatBase#setScanOffline. Clone a table, take it offline and then use it as your map/reduce input format. This will preserve a consistent view of the underlying files, without going through the tablet servers. -Eric On Wed, Oct 17, 2012 at 9:46 AM, Denis wrote: > Hi. > > I am thinking about creating a Direct Reader for Accumulo. > > A library which has API compatible with the Accumulo client but > reads .rf-files directly from HDFS, bypassing tservers. > > Motivation is: > > 1. To have a possibility to quickly read stalled data when the > tserver is busy (with re-balancing, reading logs, etc) or just went > down and its tablets are not redistributed yet. > > 2. If the table is read-only or can afford eventual consistency, > many readers can work in parallel with no bottleneck of tserver. Also, > the table's data becomes local on three (number of HDFS replicas) > servers instead of one. > > 3. Distribution of data: analytics can download .rf-files (even to > a laptop) and run their software locally. > > Any suggestions ? > > Thanks.