accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Van Gilson (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-4756) New Monitor Validation fails for default tables
Date Tue, 05 Dec 2017 23:08:00 GMT


Kyle Van Gilson commented on ACCUMULO-4756:

Updating the regex is probably the easiest way since the !0 table should be a special case.
 (Are there special case tables that use a plus?  If + is a general possibility it's easy
to update the regex, but I'd warn that the plus sign is kind of a reserved character in URLs
so it should be encoded when passed and decoded when received).

Another alternative which is a little more complex is to create a custom annotation which
links it to a validation class where you can execute arbitrary code.

> New Monitor Validation fails for default tables
> -----------------------------------------------
>                 Key: ACCUMULO-4756
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: monitor
>    Affects Versions: 2.0.0
>            Reporter: Michael Miller
>            Assignee: Michael Miller
> With the new validation rules introduced in ACCUMULO-4677, the getTables validation will
fail on all of the default accumulo table IDs. The ALPHA_NUM_REGEX doesn't like "+" or the
"!0" ID.
> I am not sure what the best way to fix this would be. We could either add a more complicated
regex that will allow the special IDs or change the REST interface to use table names instead
of IDs.

This message was sent by Atlassian JIRA

View raw message