Skip to content
Advertisement

Error while decompress a file from Local Linux to HDFS

This command works fine in Local linux

JavaScript

I would like to decompress a file with extension .csv.gz to HDFS location.

I tried the below command and i get this error

JavaScript

Could someone help me to fix this?

Advertisement

Answer

To make gzip write the output on standard output, use -c flag.

So the command would be,

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement