Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5497

Hive trunk broken against hadoop 0.20.2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      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>

        Attachments

        1. HIVE-5497.1.patch
          1 kB
          Thejas Nair

          Activity

            People

            • Assignee:
              thejas Thejas Nair
              Reporter:
              appodictic Edward Capriolo
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: