You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/07/13 22:45:04 UTC

[jira] [Commented] (PHOENIX-2109) Joda time version conflict between phoenix and pherf

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

James Taylor commented on PHOENIX-2109:
---------------------------------------

+1. Thanks for the quick turnaround, [~cody.marcel@gmail.com].

> Joda time version conflict between phoenix and pherf
> ----------------------------------------------------
>
>                 Key: PHOENIX-2109
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2109
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.4.0, 4.5.0, 4.4.1
>            Reporter: Cody Marcel
>            Assignee: Cody Marcel
>             Fix For: 4.4.0, 4.5.0, 4.4.1
>
>         Attachments: PHOENIX-2109.patch
>
>
> Joda time was added to phoenix when pherf had a dependency already declared. Pherf should be updated to use the same version.
> java.lang.NoSuchMethodError: org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/joda/time/format/DateTimeFormatter;
> 	at org.apache.phoenix.util.DateUtil$ISODateFormatParser.<init>(DateUtil.java:275)
> 	at org.apache.phoenix.util.DateUtil$ISODateFormatParser.<clinit>(DateUtil.java:269)
> 	at org.apache.phoenix.util.DateUtil$ISODateFormatParserFactory.getParser(DateUtil.java:242)
> 	at org.apache.phoenix.util.DateUtil.getDateTimeParser(DateUtil.java:132)
> 	at org.apache.phoenix.expression.function.ToDateFunction.init(ToDateFunction.java:69)
> 	at org.apache.phoenix.expression.function.ToDateFunction.<init>(ToDateFunction.java:64)
> 	at org.apache.phoenix.parse.ToDateParseNode.create(ToDateParseNode.java:46)
> 	at org.apache.phoenix.parse.ToDateParseNode.create(ToDateParseNode.java:30)
> 	at org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:313)
> 	at org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:134)
> 	at org.apache.phoenix.parse.FunctionParseNode.accept(FunctionParseNode.java:83)
> 	at org.apache.phoenix.parse.CompoundParseNode.acceptChildren(CompoundParseNode.java:64)
> 	at org.apache.phoenix.parse.RowValueConstructorParseNode.accept(RowValueConstructorParseNode.java:43)
> 	at org.apache.phoenix.parse.CompoundParseNode.acceptChildren(CompoundParseNode.java:64)
> 	at org.apache.phoenix.parse.ComparisonParseNode.accept(ComparisonParseNode.java:45)
> 	at org.apache.phoenix.compile.WhereCompiler.compile(WhereCompiler.java:130)
> 	at org.apache.phoenix.compile.WhereCompiler.compile(WhereCompiler.java:100)
> 	at org.apache.phoenix.compile.QueryCompiler.compileSingleFlatQuery(QueryCompiler.java:492)
> 	at org.apache.phoenix.compile.QueryCompiler.compileSingleQuery(QueryCompiler.java:452)
> 	at org.apache.phoenix.compile.QueryCompiler.compile(QueryCompiler.java:154)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:331)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:314)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:230)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:226)
> 	at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:225)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:214)
> 	at org.apache.phoenix.jdbc.PhoenixPreparedStatement.execute(PhoenixPreparedStatement.java:174)
> 	at org.apache.phoenix.jdbc.PhoenixPreparedStatement.execute(PhoenixPreparedStatement.java:179)
> 	at org.apache.phoenix.pherf.workload.MultithreadedRunner.timedQuery(MultithreadedRunner.java:138)
> 	at org.apache.phoenix.pherf.workload.MultithreadedRunner.run(MultithreadedRunner.java:89)
> 	at java.lang.Thread.run(Thread.java:745)



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