[
https://issues.apache.org/jira/browse/PHOENIX-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496407#comment-14496407
]
James Taylor commented on PHOENIX-1867:
---------------------------------------
[~shuxi0ng] - you probably already know, but you can run tests from the command
line through maven:
{code}
mvn verify
{code}
or a single test:
{code}
mvn test -Dtest=VariableLengthPKIT
{code}
Here are the failed tests:
{code}
testRegexReplaceFunction(org.apache.phoenix.end2end.VariableLengthPKIT) Time
elapsed: 1.39 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<[# #] ?? ????> but was:<[?? ??] ?? ????>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at
org.apache.phoenix.end2end.VariableLengthPKIT.testRegexReplaceFunction(VariableLengthPKIT.java:1295)
testRegexpSubstrFunction(org.apache.phoenix.end2end.VariableLengthPKIT) Time
elapsed: 1.386 sec <<< FAILURE!
java.lang.AssertionError: expected:<??> but was:<null>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at
org.apache.phoenix.end2end.VariableLengthPKIT.testRegexpSubstrFunction(VariableLengthPKIT.java:1357)
{code}
In the meantime, while you're trying to repro/fix, I'll set the default to
false for using the joni library.
> Add joni library to server assembly files
> -----------------------------------------
>
> Key: PHOENIX-1867
> URL: https://issues.apache.org/jira/browse/PHOENIX-1867
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: James Taylor
> Assignee: Shuxiong Ye
> Priority: Critical
> Fix For: 5.0.0, 4.4.0
>
> Attachments:
> 0001-PHOENIX-1867-Add-joni-library-to-server-assembly-fil.patch
>
>
> Please add the joni libraries to the phoenix-assembly/src/build/server.xml
> and phoenix-assembly/src/build/server.xml server-without-antlr.xml files so
> that they're included in the server-side jar. Otherwise we'll run into
> runtime issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)