accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1993) proxy classes conflict with Ruby system classes
Date Thu, 02 Jan 2014 15:38:51 GMT


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:
>             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
> {code}
> namespace rb Accumulo
> {code}
> to the proxy thrift IDL.

This message was sent by Atlassian JIRA

View raw message