Vladimir,

The question is which version of hive storage api you are using:

        <groupId>org.apache.hive</groupId>
        <artifactId>hive-storage-api</artifactId>

ORC 1.6.7 should be using 2.7.1. Note that one option is to use the nohive
classifier on the orc jars to avoid class conflicts with Hive. That shrouds
the storage-api classes so that they are included in the orc-core jar.

.. Owen



On Thu, Mar 25, 2021 at 5:38 PM Vladimir Goncharov <
vova.goncharov.2...@gmail.com> wrote:

> Hello everyone!
>
> I face the following error: "NoSuchMethod HiveDecimalWritable<init>(J)V"
> in my map-reduce program. I'm using the 1.6.7 version of
> org.apache.orc:orc-mapreduce lib. As I can see it includes dependency where
> HiveDecimalWritable has a constructor, that takes a long type argument.
> Hadoop version on my cluster is 2.8.5. What's wrong?
>
> Thank you
>

Reply via email to