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 706A118406 for ; Wed, 24 Feb 2016 21:22:18 +0000 (UTC) Received: (qmail 28196 invoked by uid 500); 24 Feb 2016 21:22:18 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 28160 invoked by uid 500); 24 Feb 2016 21:22:18 -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 27935 invoked by uid 99); 24 Feb 2016 21:22:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2016 21:22:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 174222C1F5A for ; Wed, 24 Feb 2016 21:22:18 +0000 (UTC) Date: Wed, 24 Feb 2016 21:22:18 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4153) Change getCodec method in BCFile's Compression class 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-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163827#comment-15163827 ] ASF GitHub Bot commented on ACCUMULO-4153: ------------------------------------------ Github user joshelser commented on the pull request: https://github.com/apache/accumulo/pull/73#issuecomment-188458189 I apparently clicked through to the commit and left a bunch of comments instead of commenting on the PR itself. Sorry about that. Overall, this looks pretty good. Some nit-picky things on the test case (yay, tests!) and a similar recommendation to Marc's earlier note. > Change getCodec method in BCFile's Compression class > ---------------------------------------------------- > > Key: ACCUMULO-4153 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4153 > Project: Accumulo > Issue Type: Improvement > Components: core > Affects Versions: 1.6.5 > Reporter: marco polo > Assignee: marco polo > Priority: Minor > Fix For: 1.6.6, 1.7.2, 1.8.0 > > Attachments: patchCompression > > > Seeing major blockages blockages on the Synchronized method of getCodec. My initial change was to change it to double checked locking; however, spoke with [~kturner] and I'm changing this to an AtomicReference. Have a patch for the former but am in the process of testing the AtomicReference patch > Note this is for Gzip -- This message was sent by Atlassian JIRA (v6.3.4#6332)