Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69C4710D19 for ; Fri, 3 Jan 2014 00:01:51 +0000 (UTC) Received: (qmail 81129 invoked by uid 500); 3 Jan 2014 00:01:51 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 81082 invoked by uid 500); 3 Jan 2014 00:01:51 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 81030 invoked by uid 99); 3 Jan 2014 00:01:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 00:01:51 +0000 Date: Fri, 3 Jan 2014 00:01:50 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9858) Integration test and LoadTestTool support for cell Visibility 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/HBASE-9858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860981#comment-13860981 ] Ted Yu commented on HBASE-9858: ------------------------------- Typo - should be hyphen: {code} + public static final char HIPHON = '-'; {code} {code} - int colsPerKey, int recordSize, int writeThreads, boolean useTags, int maxTagsPerKey) throws Exception { + protected void runIngestTest(long defaultRunTime, int keysPerServerPerIter, int colsPerKey, + int recordSize, int writeThreads) throws Exception { {code} The last two parameters are removed because they're not used ? {code} + private static final String[] VISIBILITY_EXPS = { "secret & confidential & !private", + "topsecret | confidential", "confidential & private", "public", "topsecret & private" }; {code} Can you add expression involving '|' and '!' at the same time ? {code} +public class LoadTestDataGeneratorWithVisibilityLabels extends DefaultDataGenerator { {code} Mind adding annotation for audience ? Same for this class: {code} +public class LoadTestDataGeneratorWithTags extends DefaultDataGenerator { {code} {code} + throw new IllegalArgumentException("LoadTestDataGeneratorWithTags must have " + + "4 initialization arguments"); {code} Mind adding short description of what purpose the 4 arguments serve ? {code} + public void start(long startKey, long endKey, int numThreads) throws IOException { + super.start(startKey, endKey, numThreads); {code} nit: indentation > Integration test and LoadTestTool support for cell Visibility > ------------------------------------------------------------- > > Key: HBASE-9858 > URL: https://issues.apache.org/jira/browse/HBASE-9858 > Project: HBase > Issue Type: Sub-task > Components: security > Affects Versions: 0.98.0 > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Fix For: 0.98.0 > > Attachments: HBASE-9858.patch, HBASE-9858_V2.patch > > > Cell level visibility should have an integration test and LoadTestTool support. -- This message was sent by Atlassian JIRA (v6.1.5#6160)