phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-3557) Provide better error message when user tries to run multiple IT tests
Date Fri, 06 Jan 2017 05:06:58 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser resolved PHOENIX-3557.
---------------------------------
    Resolution: Fixed

Thanks, James!

> Provide better error message when user tries to run multiple IT tests
> ---------------------------------------------------------------------
>
>                 Key: PHOENIX-3557
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3557
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 4.10.0
>
>         Attachments: PHOENIX-3557.001.patch
>
>
> With the following command:
> {code}
> bin/hbase --config /etc/hbase/conf org.apache.phoenix.end2end.End2EndTestDriver -r *index*
> {code}
> I got:
> {code}
> Exception in thread "main" java.util.regex.PatternSyntaxException: Dangling meta character
'*' near index 0
> *index*
> ^
> 	at java.util.regex.Pattern.error(Pattern.java:1955)
> 	at java.util.regex.Pattern.sequence(Pattern.java:2123)
> 	at java.util.regex.Pattern.expr(Pattern.java:1996)
> 	at java.util.regex.Pattern.compile(Pattern.java:1696)
> 	at java.util.regex.Pattern.<init>(Pattern.java:1351)
> 	at java.util.regex.Pattern.compile(Pattern.java:1028)
> 	at org.apache.phoenix.end2end.End2EndTestDriver$End2EndTestFilter.setPattern(End2EndTestDriver.java:78)
> 	at org.apache.phoenix.end2end.End2EndTestDriver.processOptions(End2EndTestDriver.java:114)
> {code}
> Error message can be refined to remind user that .\* should be used in place of \*
> Thanks to [~elserj] for the hint.



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

Mime
View raw message