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

Hadoop QA commented on PHOENIX-2620:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12783590/phoenix.patch
  against master branch at commit 6251f8f8c035ecf50051b974ca99499913e001c1.
  ATTACHMENT ID: 12783590

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 
33 warning messages.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
     
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.hbase.index.balancer.IndexLoadBalancerIT

Test results: 
https://builds.apache.org/job/PreCommit-PHOENIX-Build/232//testReport/
Javadoc warnings: 
https://builds.apache.org/job/PreCommit-PHOENIX-Build/232//artifact/patchprocess/patchJavadocWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-PHOENIX-Build/232//console

This message is automatically generated.

> NPE in org.apache.phoenix.expression.util.regex.JavaPattern.matches
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-2620
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2620
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.6.0
>            Reporter: Nicolas Liochon
>             Fix For: 4.8.0
>
>         Attachments: phoenix.patch
>
>
> The error shows up w/ likes & dynamic columns for example:
> {code}
> ht.put(new Put("1".getBytes()).addImmutable(CF, "C2".getBytes(), 
> "".getBytes()));
> stmt.executeQuery("SELECT count(1) from PB(F.C2 VARCHAR) where C2 like 
> 'a%'")) {
> {code}
> gives a stack w/
> {code}
> Caused by: java.lang.NullPointerException
>     at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
>     at java.util.regex.Matcher.reset(Matcher.java:309)
>     at java.util.regex.Matcher.<init>(Matcher.java:229)
>     at java.util.regex.Pattern.matcher(Pattern.java:1093)
>     at 
> org.apache.phoenix.expression.util.regex.JavaPattern.matches(JavaPattern.java:51)
>     at 
> org.apache.phoenix.expression.LikeExpression.evaluate(LikeExpression.java:297)
>     at 
> org.apache.phoenix.filter.BooleanExpressionFilter.evaluate(BooleanExpressionFilter.java:93)
>     at 
> org.apache.phoenix.filter.SingleKeyValueComparisonFilter.filterKeyValue(SingleKeyValueComparisonFilter.java:93)
>     at 
> org.apache.hadoop.hbase.regionserver.ScanQueryMatcher.match(ScanQueryMatcher.java:418)
>     at 
> org.apache.hadoop.hbase.regionserver.StoreScanner.next(StoreScanner.java:545)
>     at 
> org.apache.hadoop.hbase.regionserver.KeyValueHeap.next(KeyValueHeap.java:147)
> {code}



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

Reply via email to