Uploaded image for project: 'Kite SDK'
  1. Kite SDK
  2. KITE-416

Hive integration on CDH5 is broken

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
      None

      Description

      Classes under TypeInfoFactory are not binary compatible:

      [cloudera@localhost ~]$ ./dataset create product -s product.avsc 
      Exception in thread "main" java.lang.NoSuchFieldError: booleanTypeInfo
              at org.kitesdk.data.hcatalog.HiveUtils$Converter.<clinit>(HiveUtils.java:318)
              at org.kitesdk.data.hcatalog.HiveUtils.convert(HiveUtils.java:314)
              at org.kitesdk.data.hcatalog.HiveUtils.convertSchema(HiveUtils.java:303)
              at org.kitesdk.data.hcatalog.HiveUtils.tableForDescriptor(HiveUtils.java:220)
              at org.kitesdk.data.hcatalog.HCatalogManagedMetadataProvider.create(HCatalogManagedMetadataProvider.java:67)
              at org.kitesdk.data.hcatalog.HCatalogDatasetRepository.create(HCatalogDatasetRepository.java:64)
              at org.kitesdk.cli.commands.CreateDatasetCommand.run(CreateDatasetCommand.java:86)
              at org.kitesdk.cli.Main.run(Main.java:129)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
              at org.kitesdk.cli.Main.main(Main.java:159)
              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:606)
              at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
      

      This may also affect Hive 13, I think this was introduced by type cleanup work that was released in 13 and backported to CDH5.

        Attachments

          Activity

            People

            • Assignee:
              blue Ryan Blue
              Reporter:
              blue Ryan Blue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: