How to gzip compress a directory in hdfs without changing the name of the files

643 views Asked by At

I need to gzip compress a directory which will have many files. As i cant modify the file name of the files inside the directory i cant use mapreduce. Is there any way using java interface we can compress a directory without changing the names of the files inside the directory.

0

There are 0 answers