You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pravin Dsilva (JIRA)" <ji...@apache.org> on 2018/04/06 05:56:00 UTC

[jira] [Created] (HIVE-19125) TestStreaming fails with java.lang.NoClassDefFoundError

Pravin Dsilva created HIVE-19125:
------------------------------------

             Summary: 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


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)