You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/10/09 06:07:06 UTC
[jira] [Commented] (HIVE-5497) Hive trunk broken against hadoop
0.20.2
[ https://issues.apache.org/jira/browse/HIVE-5497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790009#comment-13790009 ]
Brock Noland commented on HIVE-5497:
------------------------------------
Looks like
https://github.com/apache/hive/commit/d39b8fc6fe6d3864d2554970e4fa1f8425363440
I think we just return null in those methods.
> 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)