You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/01/02 16:38:51 UTC

[jira] [Commented] (ACCUMULO-1993) proxy classes conflict with Ruby system classes

    [ https://issues.apache.org/jira/browse/ACCUMULO-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860272#comment-13860272 ] 

Josh Elser commented on ACCUMULO-1993:
--------------------------------------

bq. While I'm thinking about it, does Python have a range class too? Will we run into the same problem there?

It's been a while since I've python'ed, but, giving their API docs a glance over, I don't see one (they do have a {{range()}} function, though). I'll test out a quick example while I do this.

Although, it may just be more straightforward to provide a namespace for it (before we find ourselves back in this situation again).

> 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
>            Assignee: Josh Elser
>             Fix For: 1.4.5, 1.5.1, 1.6.0
>
>
> 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.5#6160)