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 5D31E183ED for ; Mon, 16 Nov 2015 21:11:11 +0000 (UTC) Received: (qmail 2549 invoked by uid 500); 16 Nov 2015 21:11:11 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 2507 invoked by uid 500); 16 Nov 2015 21:11:11 -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 2489 invoked by uid 99); 16 Nov 2015 21:11:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2015 21:11:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E85022C1F5E for ; Mon, 16 Nov 2015 21:11:10 +0000 (UTC) Date: Mon, 16 Nov 2015 21:11:10 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3948) Enable A/B testing of scan iterators on a table 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-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007324#comment-15007324 ] ASF GitHub Bot commented on ACCUMULO-3948: ------------------------------------------ Github user dlmarion commented on a diff in the pull request: https://github.com/apache/accumulo/pull/51#discussion_r44983646 --- Diff: core/src/main/java/org/apache/accumulo/core/client/ScannerBase.java --- @@ -242,4 +242,31 @@ * @since 1.8.0 */ long getBatchTimeout(TimeUnit timeUnit); + + /** + * Sets the name of the classloader context on this scanner. See the administration chapter of the user manual for details on how to configure and use + * classloader contexts. + * + * @param classLoaderContext + * name of the classloader context + * @throws NullPointerException + * if context is null + * @since 1.8.0 + */ + void setClassLoaderContext(String classLoaderContext); --- End diff -- I was looking at adding a check in Scanner.setContext() impls to fail if the context was not defined. The scanner's do not have a handle to the connection to call the *Operation classes. > Enable A/B testing of scan iterators on a table > ----------------------------------------------- > > Key: ACCUMULO-3948 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3948 > Project: Accumulo > Issue Type: Improvement > Components: tserver > Reporter: Dave Marion > Assignee: Dave Marion > Fix For: 1.8.0 > > Attachments: ACCUMULO-3948.1-6-3.patch, TestIterator.patch > > > Classpath contexts are assigned to a table via the table configuration. You can test at scale by cloning your table and assigning a new classpath context to the cloned table. However, you would also need to change your application to use the new table names and since we cannot disable compactions you would start to consume more space in the filesystem for that table. We can support users passing in a context name to use for the scan on existing tables. -- This message was sent by Atlassian JIRA (v6.3.4#6332)