Details
Description
Apache Hive current depends on JavaEWAH version 0.3.2. It is nearly trivial to update to version 0.6.11 from a source code perspective: 6 lines need to be changed and in a small way.
I include a subversion diff. (I tested that the result builds after this change.)
$ svn diff
Index: ivy/libraries.properties
===================================================================
— ivy/libraries.properties (revision 1468396)
+++ ivy/libraries.properties (working copy)
@@ -47,7 +47,7 @@
guava-hadoop23.version=11.0.2
hbase.version=0.92.0
jackson.version=1.8.8
-javaewah.version=0.3.2
+javaewah.version=0.6.11
jdo-api.version=2.3-ec
jdom.version=1.1
jetty.version=6.1.26
Index: ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFEWAHBitmapAnd.java
===================================================================
— ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFEWAHBitmapAnd.java (revision 1468396)
+++ ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFEWAHBitmapAnd.java (working copy)
@@ -18,7 +18,7 @@
package org.apache.hadoop.hive.ql.udf.generic;
-import javaewah.EWAHCompressedBitmap;
+import com.googlecode.javaewah.EWAHCompressedBitmap;
import org.apache.hadoop.hive.ql.exec.Description;
Index: ql/src/java/org/apache/hadoop/hive/ql/udf/generic/AbstractGenericUDFEWAHBitmapBop.java
===================================================================
— ql/src/java/org/apache/hadoop/hive/ql/udf/generic/AbstractGenericUDFEWAHBitmapBop.java (revision 1468396)
+++ ql/src/java/org/apache/hadoop/hive/ql/udf/generic/AbstractGenericUDFEWAHBitmapBop.java (working copy)
@@ -22,7 +22,7 @@
import java.util.ArrayList;
import java.util.List;
-import javaewah.EWAHCompressedBitmap;
+import com.googlecode.javaewah.EWAHCompressedBitmap;
import org.apache.hadoop.hive.ql.exec.UDFArgumentException;
import org.apache.hadoop.hive.ql.exec.UDFArgumentLengthException;
Index: ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEWAHBitmap.java
===================================================================
— ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEWAHBitmap.java (revision 1468396)
+++ ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEWAHBitmap.java (working copy)
@@ -21,7 +21,7 @@
import java.util.ArrayList;
import java.util.List;
-import javaewah.EWAHCompressedBitmap;
+import com.googlecode.javaewah.EWAHCompressedBitmap;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Index: ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFEWAHBitmapEmpty.java
===================================================================
— ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFEWAHBitmapEmpty.java (revision 1468396)
+++ ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFEWAHBitmapEmpty.java (working copy)
@@ -21,7 +21,7 @@
import java.io.IOException;
import java.util.ArrayList;
-import javaewah.EWAHCompressedBitmap;
+import com.googlecode.javaewah.EWAHCompressedBitmap;
import org.apache.hadoop.hive.ql.exec.Description;
import org.apache.hadoop.hive.ql.exec.UDFArgumentException;
Index: ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFEWAHBitmapOr.java
===================================================================
— ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFEWAHBitmapOr.java (revision 1468396)
+++ ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFEWAHBitmapOr.java (working copy)
@@ -18,7 +18,7 @@
package org.apache.hadoop.hive.ql.udf.generic;
-import javaewah.EWAHCompressedBitmap;
+import com.googlecode.javaewah.EWAHCompressedBitmap;
import org.apache.hadoop.hive.ql.exec.Description;