Tuesday, 15 February 2011

How to unzip file in hadoop? -


I was trying to open a zip file, which is stored in the Hadoop file system, and; Store it back in the hop file system I tried the following commands, but none of them worked.

  Thaup FS-CAT / TAPT / Teest. ZIP + gzip -d | Thaup FS -Print - / TMP / Thaup FS-CAT / TMP /test.zip|gzip -d | Thalope FS-PRT - / TMP Thaip FS-CAT / TMP / Test ZIP + Gazip-D | Thaup put - / TMP / Thaip FS-Cat / TMP / test.zip + gzip - D / HDAP  

I get errors such as gzip: stdin has more than one entry - Undiscovered , Cat: Unable to write in the output stream. , Error: The main square can not be searched or loaded on the terminal, when I run those commands. Any help?

Edit 1 : I do not have access to the UI Therefore, only command lines are allowed open / gzip utils are installed on my hadoop machine. I am using the Hadoop 2.4.0 version.

I use most

then you

 1/30/16: If you use the HDFS ACL: In some cases:  $ cd / hdfs_mount / somewhere / $ unzip file_in_hdfs.zip  

In Fuse Mount HDFS do not follow ACL, you will be able to handle the file which is allowed by the original UNIX access privileges, I have recently reopened the comments given below. Had asked for it.


No comments:

Post a Comment