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 4549B10E5A for ; Mon, 30 Dec 2013 14:08:17 +0000 (UTC) Received: (qmail 97682 invoked by uid 500); 30 Dec 2013 14:08:16 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 97336 invoked by uid 500); 30 Dec 2013 14:08:11 -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 97317 invoked by uid 99); 30 Dec 2013 14:08:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 14:08:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [74.125.83.41] (HELO mail-ee0-f41.google.com) (74.125.83.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 14:08:04 +0000 Received: by mail-ee0-f41.google.com with SMTP id t10so5141698eei.0 for ; Mon, 30 Dec 2013 06:07:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=XC10WCe54yIdYsgSgDGrL357+2nhujVoOCArV53g/M0=; b=HBdG4CZXd2RvJZpkZF+D3R6PcSUgUvOusokXsB5PGAC9TRcQrsMkKfLKFAZ307aP7y SjEh63kkS2wygK3PugVIZe30XDT42jKYVI9Oa4QBMVkziBA0tedDrdv0ExXsPW9wtrk4 ZbN8/hw6hmikTJ60xONEnnGumN2pr5kOnp1D5DlxKHI5x4HvSgfdDeg8CV7E+FDfy/HE GCq7WZWuNiQ2XQJjuok8ee55wQQLjrkfYxXQn/goPekGR4InrvRryDE/V8mdg9OSzEix tYbVqsOYOknz1zJsQw3H4o53Vojq9kU9l/BR6O9qds6p5KYXi4NQ5Y2L0tudfDSWgX88 LIew== X-Gm-Message-State: ALoCoQk1YSpnE+X6XsZtHu6tnpVf3jmMgeuCcBOz+zA6vttpbAou1zhTTo3YQt9QptpxV6jfiTF9 X-Received: by 10.15.26.200 with SMTP id n48mr1850256eeu.46.1388412463596; Mon, 30 Dec 2013 06:07:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.105.195 with HTTP; Mon, 30 Dec 2013 06:07:23 -0800 (PST) In-Reply-To: References: From: Sean Busbey Date: Mon, 30 Dec 2013 08:07:23 -0600 Message-ID: Subject: Re: Mock Accumulo server examples in Storm topology? To: Accumulo User List Content-Type: multipart/alternative; boundary=089e0163573eb1d79004eec0f771 X-Virus-Checked: Checked by ClamAV on apache.org --089e0163573eb1d79004eec0f771 Content-Type: text/plain; charset=UTF-8 Hi Pete! FWIW, I don't think the github accumulo-storm project really got off the ground. You should probably use the MiniAccumuloCluster[1] rather than a MockAccumulo instance. It has better lifecycle management and will provide a better view of how a real Accumulo instance will behave. If you're using JUnit to test things, you can add data to the MiniAccumuloCluster instance in a @Before function. Can you provide a pointer to your code so I can provide a relevant example? On Sun, Dec 29, 2013 at 9:15 PM, Pete Carlson wrote: > Thanks David, no I hadn't seen that github project. > > I originally configured my mock accumulo server in my Junit to add test > data. But then I realized that to test my topology (and a bolt that scans > an Accumulo table) I really need to add the test data to a mock accumulo > server in my topology. > > But I haven't found any examples yet of how to configure a mock accumulo > server in a Storm topology so I can add my Accumulo test data. I looked at > the github project you mentioned but I didn't see any use of a Movk > Accumulo server. Do you have any examples or have you seen any tutorials? > > Pete > have you looked at https://github.com/accumulo/accumulo-storm? Have you > run into any difficulties? Using Storm to ingest into Accumulo doesn't seem > like it would run into any issues. > > > On Sun, Dec 29, 2013 at 3:14 PM, Pete Carlson wrote: > >> Subject was unclear in last email. Figured I'd re-send... >> On Dec 28, 2013 11:48 AM, "Pete Carlson" wrote: >> >>> Hi, >>> >>> Can anyone point me to an example or steps for how to add test data to a >>> mock accumulo server inside a Storm topology? >>> >>> Thanks, >>> >>> Pete >>> >> > -- Sean --089e0163573eb1d79004eec0f771 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Pete!

FWIW, I don't think the gi= thub accumulo-storm project really got off the ground.

You should probably use the MiniAccumuloCluster[1] rather than a M= ockAccumulo instance. It has better lifecycle management and will provide a= better view of how a real Accumulo instance will behave.

If you're using JUnit to test things, you can add d= ata to the MiniAccumuloCluster instance in a @Before function. Can you prov= ide a pointer to your code so I can provide a relevant example?




On Sun, Dec 29, 2013 at 9:15 PM, Pete Carlson <pgcarlson@gma= il.com> wrote:

Thanks David, no I hadn't= seen that github project.

I originally configured my mock accumulo server in my Junit = to add test data.=C2=A0=C2=A0 But then I realized that to test my topology = (and a bolt that scans an Accumulo table) I really need to add the test dat= a to a mock accumulo server in my topology.

But I haven't found any examples yet of how to configure= a mock accumulo server in a Storm topology so I can add my Accumulo test d= ata.=C2=A0 I looked at the github project you mentioned but I didn't se= e any use of a Movk Accumulo server.=C2=A0 Do you have any examples or have= you seen any tutorials?

Pete

have you looked at https://github.com/accumulo/accumulo-st= orm? Have you run into any difficulties? Using Storm to ingest into Acc= umulo doesn't seem like it would run into any issues.


On Sun,= Dec 29, 2013 at 3:14 PM, Pete Carlson <pgcarlson@gmail.com> wrote:

Subject was unclear in last e= mail.=C2=A0 Figured I'd re-send...

On Dec 28, 2013 11:48 AM, "Pete Carlson&quo= t; <pgcarlson@g= mail.com> wrote:

Hi,

Can anyone point me to an example or steps for how to add te= st data to a mock accumulo server inside a Storm topology?

Thanks,

Pete





--
=
Sean
--089e0163573eb1d79004eec0f771--