You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Kyle Van Gilson (JIRA)" <ji...@apache.org> on 2017/12/05 23:08:00 UTC

[jira] [Commented] (ACCUMULO-4756) New Monitor Validation fails for default tables

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

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: https://issues.apache.org/jira/browse/ACCUMULO-4756
>             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
(v6.4.14#64029)