You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2018/04/07 18:26:00 UTC

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

    [ https://issues.apache.org/jira/browse/HIVE-19125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16429496#comment-16429496 ] 

Hive QA commented on HIVE-19125:
--------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  8m 17s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 23s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 14s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  0m 24s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 22s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 22s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} xml {color} | {color:green}  0m  2s{color} | {color:green} The patch has no ill-formed XML file. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 13s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} asflicense {color} | {color:red}  0m 13s{color} | {color:red} The patch generated 1 ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 10m 20s{color} | {color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  xml  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-10059/dev-support/hive-personality.sh |
| git revision | master / 6ba33b8 |
| Default Java | 1.8.0_111 |
| asflicense | http://104.198.109.242/logs//PreCommit-HIVE-Build-10059/yetus/patch-asflicense-problems.txt |
| modules | C: hcatalog/streaming U: hcatalog/streaming |
| Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-10059/yetus.txt |
| Powered by | Apache Yetus    http://yetus.apache.org |


This message was automatically generated.



> 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
>
>
> 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)