Support Questions

Find answers, ask questions, and share your expertise

Hive Error when reading empty parquet files

avatar
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

avatar
Super 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?