Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-25274

TestLimitOperator fails if default engine is Tez

    XMLWordPrintableJSON

Details

    Description

      need to mock an object cache there

      java.lang.IllegalStateException: Cannot get a query cache object while working outside of HS2, this is unexpected
      	at org.apache.hadoop.hive.ql.exec.LimitOperator.initializeOp(LimitOperator.java:74)
      	at org.apache.hadoop.hive.ql.exec.vector.VectorLimitOperator.initializeOp(VectorLimitOperator.java:65)
      	at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:375)
      	at org.apache.hadoop.hive.ql.exec.vector.TestVectorLimitOperator.validateVectorLimitOperator(TestVectorLimitOperator.java:139)
      	at org.apache.hadoop.hive.ql.exec.vector.TestVectorLimitOperator.testLimitLessThanBatchSize(TestVectorLimitOperator.java:48)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      ... 

      Attachments

        Issue Links

          Activity

            People

              abstractdog László Bodor
              abstractdog László Bodor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m