[ https://issues.apache.org/jira/browse/HIVE-19125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439362#comment-16439362 ]
Pravin Dsilva edited comment on HIVE-19125 at 4/16/18 1:06 PM: --------------------------------------------------------------- There were some test cases failing with errors: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonNode.asInt()I and java.lang.NoClassDefFoundError: org/joda/time/IllegalInstantException {code:java} org.apache.hive.hcatalog.pig.TestAvroHCatStorer.testWriteDecimalX org.apache.hive.hcatalog.pig.TestAvroHCatStorer.testWriteDecimal org.apache.hive.hcatalog.listener.TestNotificationListener.testAMQListener org.apache.hive.hcatalog.listener.TestNotificationListener.testAMQListener org.apache.hive.hcatalog.api.repl.commands.TestCommands.testMetadataReplEximCommands org.apache.hive.hcatalog.api.repl.commands.TestCommands.testBasicReplEximCommands{code} Have made changes to add jackson and joda-time dependency in the HIVE-19125.2.patch to resolve the errors was (Author: pravindsilva): There were some test cases failing {code:java} org.apache.hive.hcatalog.pig.TestAvroHCatStorer.testWriteDecimalX org.apache.hive.hcatalog.pig.TestAvroHCatStorer.testWriteDecimal org.apache.hive.hcatalog.listener.TestNotificationListener.testAMQListener org.apache.hive.hcatalog.listener.TestNotificationListener.testAMQListener org.apache.hive.hcatalog.api.repl.commands.TestCommands.testMetadataReplEximCommands org.apache.hive.hcatalog.api.repl.commands.TestCommands.testBasicReplEximCommands{code} with errors: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonNode.asInt()I and java.lang.NoClassDefFoundError: org/joda/time/IllegalInstantException Have made changes to add jackson and joda-time dependency in the HIVE-19125.2.patch to resolve the errors > TestStreaming fails with java.lang.NoClassDefFoundError > ------------------------------------------------------- > > Key: HIVE-19125 > URL: https://issues.apache.org/jira/browse/HIVE-19125 > Project: Hive > Issue Type: Bug > Components: HCatalog, Test > Affects Versions: 3.0.0 > Environment: $ uname -a > Linux 90ab83b583eb 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 > 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux > $ cat /etc/lsb-release > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=16.04 > DISTRIB_CODENAME=xenial > DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS" > Reporter: Pravin Dsilva > Priority: Major > Attachments: HIVE-19125.1.patch, HIVE-19125.2.patch > > > 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 > > {code:java} > [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] > ------------------------------------------------------------------------ > {code} > {code:java} > 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) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)