Support Questions

Find answers, ask questions, and share your expertise

How to uncompress a zip file which is stored in HDFS?

New Contributor

I have a zip folder stored in HDFS containing multiple video files. I want to unzip  the folder in HDFS and want to access individual video file.

Can someone help me to find the solution for this?

1 ACCEPTED SOLUTION

Expert Contributor

@Amey3 

 

You cannot directly unzip the files in HDFS. You would have to uncompress the files on local and then place it on HDFS.

 

You can use Hue which uses a shell action in oozie to automate this. The files are uncompressed in the local and then uploaded to HDFS.

https://gethue.com/extract-archives-as-oozie-job/

 

Hope this helps,

Paras

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

View solution in original post

1 REPLY 1

Expert Contributor

@Amey3 

 

You cannot directly unzip the files in HDFS. You would have to uncompress the files on local and then place it on HDFS.

 

You can use Hue which uses a shell action in oozie to automate this. The files are uncompressed in the local and then uploaded to HDFS.

https://gethue.com/extract-archives-as-oozie-job/

 

Hope this helps,

Paras

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.