@Override
  public ObjectInspector initialize(ObjectInspector[] arguments) throws UDFArgumentTypeException {

    argumentOIs = arguments;
    return PrimitiveObjectInspectorFactory.writableIntObjectInspector;
  }
GenericUDF Class for computing murmurhash values.
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFMurmurHash.java