Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
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
- is related to
-
HIVE-24207 LimitOperator can leverage ObjectCache to bail out quickly
- Closed
- links to