Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D118D10598 for ; Fri, 15 Nov 2013 19:45:21 +0000 (UTC) Received: (qmail 7244 invoked by uid 500); 15 Nov 2013 19:45:21 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 7164 invoked by uid 500); 15 Nov 2013 19:45:21 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 7155 invoked by uid 99); 15 Nov 2013 19:45:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Nov 2013 19:45:21 +0000 Date: Fri, 15 Nov 2013 19:45:21 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1892) examples.simple.RandomBatchWriter might not write the specified number of rowids MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13824005#comment-13824005 ] ASF subversion and git services commented on ACCUMULO-1892: ----------------------------------------------------------- Commit 4119611eea4bc5780761ec17691483dac3e95f47 in branch refs/heads/1.5.1-SNAPSHOT from [~busbey] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=4119611 ] ACCUMULO-1892 changes RandomBatchWriter to ensure it writes the specified number of rowids. Signed-off-by: Keith Turner > examples.simple.RandomBatchWriter might not write the specified number of rowids > -------------------------------------------------------------------------------- > > Key: ACCUMULO-1892 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1892 > Project: Accumulo > Issue Type: Bug > Components: docs, test > Affects Versions: 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0 > Reporter: Sean Busbey > Assignee: Sean Busbey > Priority: Minor > Fix For: 1.4.5, 1.5.1, 1.6.0 > > Attachments: ACCUMULO-1892.1.patch.txt, ACCUMULO-1892.2.patch.txt, ACCUMULO-1892.3.patch.txt > > > examples.simple.RandomBatchWriter takes a command line arg for how many rowids to write. > In the functional tests, this arg is used to coordinate a number of expected reads with teh examples.simple.RandomBatchReader example. > the reader implementation ensures that it generates the passed number of query rows, but the write just makes num attempts at creating random rowids. > For a small number of goal rows and a large range (like the examples used for testing bloom filter speeds early in the examples integration test), this works fine. > For a larger number of goal rows (like the examples used to just write/read 10k rows later in the examples integration test), collisions in the selected row ids will cause the writer to actually generate fewer than the expected number. That, in turn, will cause the attempted read integration test to fail. -- This message was sent by Atlassian JIRA (v6.1#6144)