hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <>
Subject [jira] [Created] (HIVE-6105) LongWritable.compareTo needs shimming
Date Wed, 25 Dec 2013 19:10:50 GMT
Gunther Hagleitner created HIVE-6105:

             Summary: LongWritable.compareTo needs shimming
                 Key: HIVE-6105
             Project: Hive
          Issue Type: Bug
    Affects Versions: 0.12.0
            Reporter: Gunther Hagleitner

Compiled hive against hadoop-2. Running tests on hadoop 1 gives:

Caused by: java.lang.NoSuchMethodError:;)I
	at org.apache.hadoop.hive.ql.udf.UDAFPercentile$
	at org.apache.hadoop.hive.ql.udf.UDAFPercentile$
	at java.util.Arrays.mergeSort(
	at java.util.Arrays.sort(
	at java.util.Collections.sort(
	at org.apache.hadoop.hive.ql.udf.UDAFPercentile$PercentileLongEvaluator.terminate(
	... 20 more

I think the problem is that the compareTo function has changed from using Object to using
LongWritable as an argument. Seems this needs a shim. However, we should also make sure that
this shim doesn't hit performance too hard.

This message was sent by Atlassian JIRA

View raw message