Edward Capriolo created HIVE-5497:
-------------------------------------
Summary: Hive trunk broken against hadoop 0.20.2
Key: HIVE-5497
URL: https://issues.apache.org/jira/browse/HIVE-5497
Project: Hive
Issue Type: Bug
Reporter: Edward Capriolo
Priority: Blocker
ommon-0.13.0-SNAPSHOT.jar!/hive-log4j.properties
hive> compile `import org.apache.hadoop.hive.ql.exec.UDF \;
> public class Pyth extends UDF {
> public double evaluate(double a, double b){
> return Math.sqrt((a*a) + (b*b)) \;
> }
> } ` AS GROOVY NAMED Pyth.groovy;
Added /tmp/0_1381290655403.jar to class path
Added resource: /tmp/0_1381290655403.jar
hive> create temporary function Pyth as 'Pyth';
OK
Time taken: 0.445 seconds
hive> select Pyth(a,b) from a;
Total MapReduce jobs = 1
Launching Job 1 out of 1
Number of reduce tasks is set to 0 since there's no reduce operator
Exception in thread "main" java.lang.UnsupportedOperationException: Kerberos
not supported in current hadoop version
at
org.apache.hadoop.hive.shims.Hadoop20Shims.getTokenFileLocEnvName(Hadoop20Shims.java:775)
at
org.apache.hadoop.hive.ql.exec.mr.ExecDriver.main(ExecDriver.java:653)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Execution failed with exit status: 1
Obtaining error information
Task failed!
Task ID:
Stage-1
Logs:
/tmp/edward/hive.log
FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.mr.MapRedTask
hive>
--
This message was sent by Atlassian JIRA
(v6.1#6144)