accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshelser <>
Subject [GitHub] accumulo pull request #125: ACCUMULO-4375 Add missing byte[]-based Key const...
Date Sun, 17 Jul 2016 17:59:19 GMT
Github user joshelser commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/accumulo/core/data/ ---
    @@ -107,6 +107,17 @@ public Key(Text row) {
    +   * Creates a key with the specified row, empty column family, empty column qualifier,
empty column visibility, timestamp {@link Long#MAX_VALUE}, and delete
    +   * marker false.
    --- End diff --
    >  I wonder if this is the right behaviour or if the user would expect the byte array
to be used as it is.
    Copying the underlying array is definitely the safe/consistent thing to do. I think we
should avoid making another set of constructors just to support users providing `copy=false`.
That's pretty much what I was thinking about with ACCUMULO-4376.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message