Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 50A4210CCF for ; Tue, 29 Apr 2014 14:25:10 +0000 (UTC) Received: (qmail 61567 invoked by uid 500); 29 Apr 2014 14:25:09 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 61509 invoked by uid 500); 29 Apr 2014 14:25:09 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 61501 invoked by uid 99); 29 Apr 2014 14:25:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2014 14:25:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dlmarion@comcast.net designates 76.96.62.16 as permitted sender) Received: from [76.96.62.16] (HELO qmta01.westchester.pa.mail.comcast.net) (76.96.62.16) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2014 14:25:03 +0000 Received: from omta07.westchester.pa.mail.comcast.net ([76.96.62.59]) by qmta01.westchester.pa.mail.comcast.net with comcast id vnZC1n0041GhbT851qQiU3; Tue, 29 Apr 2014 14:24:42 +0000 Received: from resmail-ch2-129v.sys.comcast.net ([162.150.48.163]) by omta07.westchester.pa.mail.comcast.net with comcast id vqQi1n00P3XFKay3TqQigd; Tue, 29 Apr 2014 14:24:42 +0000 Date: Tue, 29 Apr 2014 14:24:42 +0000 (UTC) From: dlmarion@comcast.net To: dev@accumulo.apache.org Message-ID: <1435961676.34715394.1398781482338.JavaMail.root@comcast.net> In-Reply-To: References: Subject: Re: Writing data from iterators MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_34715393_340600933.1398781482337" X-Originating-IP: [::ffff:63.239.65.11] X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF21 (Win)/8.0.3_GA_5664) Thread-Topic: Writing data from iterators Thread-Index: 3SGntRfjzcQa8jgzOWRwWonzJt3D8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1398781482; bh=gi+ONW2AMkCB4P7AaX0wkzfFmIen3CqbRlq/V9Vs3a0=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=XT7W3KlcXPGxM1Fa4G4f1uF88yww2PZ0/LXMhI3WUv97e3U51AjI19RnoQSlMNy2D Hlv+vFUZDnxbC+Y+PHzHLDSGdOA/s7Vo4y4gjZn8ozXKFUR9qi7ufkMJvQ1LK3k0GM bjBcBKBmiS0DJU8UGRTgGQf7FPmiDsusGHWMjuE8OW9Q+Mq4xTzY/aysoHEabv2qcr orvX8/xlAQ6jfqCDf8vrKWmZTRDM9vxkJVS/vNMBDMzVK857ypQSG8iBo3h0ih3YB6 giJNRwTRqk36osw2LM3B2LZMeLaHxKBLFjHsyiY2FvKhMzSjniIaRKYLDFATe0Fa86 Vd2d59i5BgFGw== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_34715393_340600933.1398781482337 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit One reason that I can think of is that there is not a close() method on the iterator interface. If you had resources open, you won't know when to clean them up. ----- Original Message ----- From: "Donald Miner" To: dev@accumulo.apache.org Sent: Tuesday, April 29, 2014 10:20:40 AM Subject: Writing data from iterators Bit of a tangent... This came up earlier in the text indexing thread and below, and is something I've seen come up a couple of other times. What would it take to make it so something tabletserver-side could write to accumulo (in an "acceptable way")? Either be it an iterator/constraint or something new. -d On Tue, Apr 29, 2014 at 9:59 AM, Eric Newton wrote: > I have taken a quick look at phoenix. It's baked into HBase-specific > features pretty hard. > > It uses coprocessors to do things like create index entries. This is a > common enough idiom in the HBase community, but not something we've > supported in Accumulo. In general, you do not want an accumulo Iterator or > Constraint generating data for other tables. > > However, a more sophisticated Percolator type implementation ( > https://github.com/keith-turner/Accismus) could support index generation > and query transactions. > > We could probably re-use a lot of it, but it's not going to be as simple as > changing the classes that talk to the database back-end. > > -Eric > > > On Tue, Apr 29, 2014 at 9:21 AM, Kepner, Jeremy - 0553 - MITLL < > kepner@ll.mit.edu> wrote: > > > Hi James, > > Can you explain how the SQL layer to HBase works? > > Regards. -Jeremy > > > > On Apr 29, 2014, at 1:32 AM, James Taylor > > wrote: > > > > > Hello, > > > Would there be any interest in developing a SQL-layer on top of > Accumulo? > > > I'm part of the Apache Phoenix project and we've built a similar system > > on > > > top of HBase. I wanted to see if there'd be interest on your end at > > working > > > with us to generalizing our client and provide in a server that would > do > > > Accumulo-specific push down in support of a SQL layer. I suspect > there's > > > enough similarity between HBase and Accumulo that this would be > feasible. > > > Thanks, > > > James > > > > > -- Donald Miner Chief Technology Officer ClearEdge IT Solutions, LLC Cell: 443 799 7807 www.clearedgeit.com ------=_Part_34715393_340600933.1398781482337--