Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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

avatar
New Member

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

avatar
Master Collaborator

@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

avatar
Master Collaborator

@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.