Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-639

Impala requires fully-qualified FS URIs for Avro tables

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.17.0
    • Component/s: Data Module
    • Labels:
      None

      Description

      While testing the flume sink, I ran into a bug when reading a Kite-created table that uses an Avro schema URL:

      [cloudera@quickstart ~]$ ./dataset show users                                                                                                                                                                        
                                                                             
      {"username": "user1", "timestamp": 1409361124944, "favoriteColor": "green"}
      {"username": "user2", "timestamp": 1409361125619, "favoriteColor": "red"}
      [cloudera@quickstart ~]$ impala-shell 
      Starting Impala Shell without Kerberos authentication
      Connected to quickstart.cloudera:21000
      Server version: impalad version 1.4.0-cdh5-INTERNAL RELEASE (build e801bd8c0d134e783c2313c7dd422a5ad06591af)
      Welcome to the Impala shell. Press TAB twice to see a list of available commands.
      
      Copyright (c) 2012 Cloudera, Inc. All rights reserved.
      
      (Shell build version: Impala Shell v1.4.0-cdh5-INTERNAL (e801bd8) built on Sat Jul 12 06:45:04 PDT 2014)
      [quickstart.cloudera:21000] > invalidate metadata;
      Query: invalidate metadata
      
      Returned 0 row(s) in 1.11s
      [quickstart.cloudera:21000] > select * from users;
      Query: select * from users
      ERROR: AnalysisException: Failed to load metadata for table: default.users
      CAUSED BY: TableLoadingException: avro.schema.url must be of form "http://path/to/schema/file" or "hdfs://namenode:port/path/to/schema/file", got hdfs:/user/cloudera/schemas/user.avsc
      [quickstart.cloudera:21000] > exit;
      Goodbye
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: