accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3376) VolumeChooser API: replace String[] with Set<Volume>
Date Sun, 05 Apr 2015 05:07:33 GMT

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

Josh Elser commented on ACCUMULO-3376:
--------------------------------------

I forget my JVM object internals, It may have an impact moving from an array to a Set. Would
be something to keep in mind.

> VolumeChooser API: replace String[] with Set<Volume>
> ----------------------------------------------------
>
>                 Key: ACCUMULO-3376
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3376
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: tserver
>            Reporter: Christopher Tubbs
>             Fix For: 1.8.0
>
>
> ACCUMULO-2061 added a Volume object. The VolumeChooser API and related volume management
code should utilize a set of these, rather than an array of String objects.
> This would be a minor improvement to what was done in ACCUMULO-3181, and would avoid
reintroducing invalid assumptions about the VolumeChooser API semantics by avoiding the String
type to represent volumes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message