Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2109

Joda time version conflict between phoenix and pherf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4.0, 4.5.0, 4.4.1
    • 4.4.0, 4.5.0, 4.4.1
    • None

    Description

      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)

      Attachments

        1. PHOENIX-2109.patch
          2 kB
          Cody Marcel

        Activity

          People

            cody.marcel@gmail.com Cody Marcel
            cody.marcel@gmail.com Cody Marcel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: