Open suolemen opened 10 years ago
look : job error
Error: java.lang.RuntimeException: org.apache.hive.com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorConverter$TextConverter Serialization trace: converters (com.nexr.rhive.hive.udf.RUDF) genericUDF (org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc) colExprMap (org.apache.hadoop.hive.ql.exec.SelectOperator) childOperators (org.apache.hadoop.hive.ql.exec.TableScanOperator) aliasToWork (org.apache.hadoop.hive.ql.plan.MapWork) at org.apache.hadoop.hive.ql.exec.Utilities.getBaseWork(Utilities.java:320) at org.apache.hadoop.hive.ql.exec.Utilities.getMapWork(Utilities.java:259) at org.apache.hadoop.hive.ql.io.HiveInputFormat.init(HiveInputFormat.java:251) at org.apache.hadoop.hive.ql.io.HiveInputFormat.pushProjectionsAndFilters(HiveInputFormat.java:378) at org.apache.hadoop.hive.ql.io.HiveInputFormat.pushProjectionsAndFilters(HiveInputFormat.java:371) at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getRecordReader(CombineHiveInputFormat.java:556) at org.apache.hadoop.mapred.MapTask$TrackedRecordReader.
hdfs dfs -ls /rhive/udf/root Found 1 items -rw-r--r-- 3 root supergroup 313 2014-11-12 17:28 /rhive/udf/root/sbtest.RData
I guess this is hive version problem. What version do you use?
https://issues.apache.org/jira/browse/HIVE-5279 https://issues.cloudera.org/browse/DISTRO-595 http://community.cloudera.com/t5/Batch-SQL-Apache-Hive/CDH5-Hive-UDTF-KryoException-Class-cannot-be-created-missing-no/td-p/8908
I will fix this problem on rhive-2.0-0.6 release.
hive-service-0.12.0-cdh5.0.0.jar
what the problem?