Yes. The JSON files compressed by Flume or Spark work well with Spark. But
the json files compressed by myself cannot be read by spark due to codec
problem. It seems sparking can read files compressed by hadoop snappy( only

Junfeng Chen

On Thu, May 17, 2018 at 5:47 PM, Victor Noagbodji <> wrote:

> Hey, Sorry if I misunderstood. Are you feeding the compressed JSON file to
> Spark directly?
> On May 17, 2018, at 4:59 AM, JF Chen <> wrote:
> I made some snappy compressed json file with normal snappy codec(
> ) , which seems cannot be read by
> Spark correctly.
> So how to make existed snappy file recognized by spark? Any tools to
> convert them?
> Thanks@!
> Regard,
> Junfeng Chen

Reply via email to