Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3104 Enable Phoenix test cases with Calcite-Phoenix
  3. PHOENIX-3829

Views/Index related tests are failing with NoSuchMethodError because of guava incompatibility in Phoenix-Calcite

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      testChooseIndexFromCaseSensitiveHint2(org.apache.phoenix.compile.QueryOptimizerTest)  Time elapsed: 0.398 sec  <<< ERROR!
      java.lang.NoSuchMethodError: com.google.common.collect.Range.singleton(Ljava/lang/Comparable;)Lcom/google/common/collect/Range;
      	at org.apache.phoenix.compile.QueryOptimizerTest.testChooseIndexFromCaseSensitiveHint2(QueryOptimizerTest.java:285)
      

      sergey.soldatov tried to check whether we can shade guava jars so that we don't get this kind of issues but was not able to do as of now and suggested to bump up the guava version. So changing the guava version to 14.0 as of now.

      Attachments

        Activity

          People

            rajeshbabu Rajeshbabu Chintaguntla
            rajeshbabu Rajeshbabu Chintaguntla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: