Home:ALL Converter>How to unzip a split zip file in Hadoop

How to unzip a split zip file in Hadoop

Ask Time:2018-11-16T12:41:27         Author:foy

Json Formatter

I have a split zip file (created by winzip in window) , then ftp to hadoop server. Somehow i can't unzip it through something like below command

The files like below

file.z01,file.zo2,file.zo3....file.zip

Then i run below command

hadoop fs -cat /tmp/Links.txt.gz | gzip -d | hadoop fs -put - /tmp/unzipped/Links.txt

Then Error comes up

cat: Unable to write to output stream

What i expect is that unzip those split files to Hadoop particular folder

Author:foy,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/53331549/how-to-unzip-a-split-zip-file-in-hadoop
yy