Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
Description
The failures appear only when running the entire test suite but pass when the tests are run individually.
command used: mvn test -fn -pl ql,hcatalog,hcatalog/streaming -Dtest=TestStreaming
[INFO] Results: [INFO] [ERROR] Errors: [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [ERROR] TestStreaming.setup:235->createDbAndTable:2126->addPartition:2136->getPartitionPath:2140->queryTable:2221 ? NoClassDefFound [INFO] [ERROR] Tests run: 26, Failures: 0, Errors: 26, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Hive ............................................... SUCCESS [ 1.536 s] [INFO] Hive Query Language ................................ SUCCESS [ 24.866 s] [INFO] Hive HCatalog ...................................... SUCCESS [ 1.414 s] [INFO] Hive HCatalog Streaming ............................ FAILURE [ 49.459 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------
org.apache.hive.hcatalog.streaming.TestStreaming [ERROR] testFileDumpCorruptDataFiles(org.apache.hive.hcatalog.streaming.TestStreaming) Time elapsed: 4.249 s <<< ERROR! java.lang.NoClassDefFoundError: org/joda/time/IllegalInstantException at org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.LazyTimestampObjectInspector.<init>(LazyTimestampObjectInspector.java:38) at org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.LazyPrimitiveObjectInspectorFactory.<clinit>(LazyPrimitiveObjectInspectorFactory.java:73) at org.apache.hadoop.hive.serde2.lazy.LazyFactory.createLazyObjectInspector(LazyFactory.java:331) at org.apache.hadoop.hive.serde2.lazy.LazyFactory.createLazyStructInspector(LazyFactory.java:435) at org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.initialize(LazySimpleSerDe.java:119) at org.apache.hadoop.hive.serde2.AbstractSerDe.initialize(AbstractSerDe.java:54) at org.apache.hadoop.hive.serde2.SerDeUtils.initializeSerDe(SerDeUtils.java:540) at org.apache.hadoop.hive.ql.plan.TableDesc.getDeserializer(TableDesc.java:105) at org.apache.hadoop.hive.ql.plan.TableDesc.getDeserializer(TableDesc.java:96) at org.apache.hadoop.hive.ql.Driver.getSchema(Driver.java:346) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:661)