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 0DA6D1069C for ; Mon, 9 Dec 2013 19:24:09 +0000 (UTC) Received: (qmail 42379 invoked by uid 500); 9 Dec 2013 19:24:09 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 42354 invoked by uid 500); 9 Dec 2013 19:24:08 -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 42346 invoked by uid 99); 9 Dec 2013 19:24:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Dec 2013 19:24:08 +0000 Date: Mon, 9 Dec 2013 19:24:08 +0000 (UTC) From: "Brian Loss (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1993) proxy classes conflict with Ruby system classes 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-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843437#comment-13843437 ] Brian Loss commented on ACCUMULO-1993: -------------------------------------- It depends... At the thrift communication level, it doesn't cause any problems. Anyone who uses the new IDL to generate Ruby proxies would have to modify their Ruby code to reflect the namespace change. But, they'd be able to use the Range class. It seems much less fragile than renaming the Range class, but that's just my $0.02. While I'm thinking about it, does Python have a range class too? Will we run into the same problem there? > proxy classes conflict with Ruby system classes > ----------------------------------------------- > > Key: ACCUMULO-1993 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1993 > Project: Accumulo > Issue Type: Bug > Components: proxy > Affects Versions: 1.4.4, 1.5.0 > Reporter: Brian Loss > > The proxy declares the Range class, however this class also exists as a Ruby system class, which causes problems when attempting to construct ranges. Really, all the generated classes for Ruby should be placed in an Accumulo namespace. Add the appropriate declaration, such as > {code} > namespace rb Accumulo > {code} > to the proxy thrift IDL. -- This message was sent by Atlassian JIRA (v6.1.4#6159)