Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hive Error when reading empty parquet files

Hive Error when reading empty parquet files

New Contributor

Hello everyone i'm currently using CDH 5.9.1  on queries when Hive tries to read empty Parquet files I get "Parquet file is not a Parquet file (too small)" error . Is there particular setting that i can give to HIve to skip empty files?

 

Regards

 

Francesco

1 REPLY 1

Re: Hive Error when reading empty parquet files

Guru
Hi Francesco,

Why do you need to read from an empty parquet file? Can you simply remove them?

Have you also tried to use parquet-tools command line utility to confirm if the parquet file is valid?