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 6C24510810 for ; Tue, 5 May 2015 14:48:47 +0000 (UTC) Received: (qmail 15015 invoked by uid 500); 5 May 2015 14:48:47 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 14974 invoked by uid 500); 5 May 2015 14:48:47 -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 14962 invoked by uid 99); 5 May 2015 14:48:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2015 14:48:46 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.191.145.13 which is an MX secondary for dev@accumulo.apache.org) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2015 14:48:39 +0000 Received: from resqmta-ch2-10v.sys.comcast.net (resqmta-ch2-10v.sys.comcast.net [69.252.207.42]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id D05E724BCB for ; Tue, 5 May 2015 14:48:19 +0000 (UTC) Received: from resomta-ch2-13v.sys.comcast.net ([69.252.207.109]) by resqmta-ch2-10v.sys.comcast.net with comcast id QEnu1q0052N9P4d01EoDqm; Tue, 05 May 2015 14:48:13 +0000 Received: from resmail-ch2-129v.sys.comcast.net ([162.150.48.163]) by resomta-ch2-13v.sys.comcast.net with comcast id QEoD1q00E3XFKay01EoDPZ; Tue, 05 May 2015 14:48:13 +0000 Date: Tue, 5 May 2015 14:48:12 +0000 (UTC) From: dlmarion@comcast.net To: dev@accumulo.apache.org Message-ID: <1112106393.6192134.1430837292679.JavaMail.zimbra@comcast.net> In-Reply-To: <1430818553916-14005.post@n5.nabble.com> References: <1430818553916-14005.post@n5.nabble.com> Subject: Re: Ingest speed MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6192133_76310068.1430837292678" X-Originating-IP: [::ffff:63.239.65.11] X-Mailer: Zimbra 8.0.7_GA_6031 (ZimbraWebClient - FF31 (Win)/8.0.7_GA_6031) Thread-Topic: Ingest speed Thread-Index: 9CIgASk0+I8yxSgTytQ2fh6WFhjkfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1430837293; bh=OwIodVjKKPJrYiEktkFoI+NGBtn1Q5sUqFE5dWnfgDI=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=lOUmX9HIvQt/s4GsJaNkR2wo4vZjTVnL/memoB5jI86RZl5nPhRurYu0ofa3rc3kf igfFSkaLJinMKBr5IaZRfmMk6e0UkfG+ZcU/+xoOgDtthf/HvguXvSUziGB3JhdzZ6 15aM2hH3fAD9GalQyWoVlo53LXxoQ141YNtMKR+dmDRYlYgsiIxBOHkg9M5c0nWn2z +Ca/4xpQz5rtrjTgsANAh+JoI9l76kgveFyvp5jehlsOkSp1jCF08kxbf0ijamjdCy 5L50eEsnZ5s2nMTn2hCBInXZ7sqPnHs57Z9f8X1yjv+qDTi9zR6Wy4mpgSbi4n+QHK yKL5Y67SvwVmw== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6192133_76310068.1430837292678 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Revan, You could use the scripting[1] feature in the shell for this purpose. The feature allows you to use JSR-223 compatible languages for your scripts. You will see javascript and python as examples in the comments on the JIRA ticket. [1] https://issues.apache.org/jira/browse/ACCUMULO-1399 ----- Original Message ----- From: "Revan1988" To: dev@accumulo.apache.org Sent: Tuesday, May 5, 2015 5:35:53 AM Subject: Ingest speed Hi, I'm an Italian student and i'm going to be graduated having thesis about using accumulo. I've developed a little java application that reads LOGS in a .json file and insert them into accumulo. In my virtual machine my app's insert/sec score is about 6'000. I see that there are some bench test that scores about 50'000 in my VM. (It's in $ACCUMULO_HOME/test/system/* folder.) Those test use the shell call to insert a large amount of data. So I think that i could write all my insert using an accumulo-shell call in my app. I've seen that i can execute that command: ./bin/accumulo shell -u username -p passw -e "insert row fam qual val [vis] [timestamp]" but there is a problem: i need to set up the table with the command table (infact insert command has not -t option). So there is any way to execute two commands in a row into accumulo shell? i tried with && ; and other separator but with no success. The other option that i have is to write a big command file with all commands that i need and send it to accumulo shell using the command ./bin/accumulo shell -f it may be a better solution cause i'll connect to accumulo just one time (and not for every insert)... Any suggest? Thank you everybody and sorry for my bad english. Revan -- View this message in context: http://apache-accumulo.1065345.n5.nabble.com/Ingest-speed-tp14005.html Sent from the Developers mailing list archive at Nabble.com. ------=_Part_6192133_76310068.1430837292678--