hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gopal Vijayaraghavan <>
Subject Re: Hive on Tez query failed with ³wrong key class"
Date Tue, 28 Jul 2015 04:19:42 GMT

> From the java code which creates the sequence file, it has set the key
>class to NullWritable.class:
> job.setOutputKeyClass(;
> I think that caused the mismatch:
> wrong key class: is not class

In all possibilities, the exception you¹re hitting originates from here

> Anyone knows why Tez will check the key and value class when doing sort

As I said in my earlier mail, if you can check the SequenceFile headers
and they look like my pasted pair, then we know it¹s the same as the known


View raw message