Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-650

AnalysisException For External Parquet Table with no Data files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • Impala 1.1.1
    • Impala 1.2.1
    • None

    Description

      If I create an external parquet table pointing to an empty directory, it does not work:

      [example.com:21000] > create external table foo (id integer) STORED AS PARQUETFILE LOCATION '/empty/directory';
      Query: create external table foo (id integer) STORED AS PARQUETFILE LOCATION '/empty/directory'
      [example.com:21000] > select * from foo;
      ERROR: AnalysisException: Failed to load metadata for table: default.foo
      CAUSED BY: TableLoadingException: Failed to load metadata for table: foo
      CAUSED BY: MetaException: org.apache.hadoop.hive.serde2.SerDeException SerDe parquet.hive.serde.ParquetHiveSerDe does not exist
      

      I am not even able to drop the table at this point.

      So, how does one create a new external Parquet table that one can then insert data into?

      Attachments

        Activity

          People

            lskuff Lenni Kuff
            theory_impala_af54 David E. Wheeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: