hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-11423) Ship hive-storage-api along with hive-exec jar to all Tasks
Date Sat, 01 Aug 2015 01:31:04 GMT

     [ https://issues.apache.org/jira/browse/HIVE-11423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gopal V resolved HIVE-11423.
----------------------------
    Resolution: Duplicate

> Ship hive-storage-api along with hive-exec jar to all Tasks
> -----------------------------------------------------------
>
>                 Key: HIVE-11423
>                 URL: https://issues.apache.org/jira/browse/HIVE-11423
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>    Affects Versions: 2.0.0
>            Reporter: Gopal V
>            Priority: Blocker
>
> After moving critical classes into hive-storage-api, those classes are needed for queries
to execute successfully.
> Currently all queries run fail with ClassNotFound exceptions on a large cluster.
> {code}
> Caused by: java.lang.NoClassDefFoundError: Lorg/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch;
>         at java.lang.Class.getDeclaredFields0(Native Method)
>         at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
>         at java.lang.Class.getDeclaredFields(Class.java:1916)
>         at org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.rebuildCachedFields(FieldSerializer.java:150)
>         at org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.<init>(FieldSerializer.java:109)
>         ... 57 more
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         ... 62 more
> {code}
> Temporary workaround added to hiverc: {{add jar ./dist/hive/lib/hive-storage-api-2.0.0-SNAPSHOT.jar;}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message