hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Opening hdfs gz file
Date Fri, 17 Aug 2012 06:52:32 GMT
On the shell, just do:

$ hadoop fs -text /user/hive/warehouse/sample/loc=US/000001_0.gz

On Fri, Aug 17, 2012 at 12:18 PM, prabhu K <prabhu.hadoop@gmail.com> wrote:
> Hi Users,
>
> How to open HDFS zip file(.gz) file in hadoop.?
>
> example:
>
> bin/hadoop fs -ls /user/hive/warehouse/sample
> -rw-r--r--   4 root supergroup  465141227 2012-08-14 17:02
> /user/hive/warehouse/sample/loc=US/000001_0.gz
>
> i want to see the '000001_0.gz' file content. can anyone knows how to open
> this file?
>
> Thanks,
> Prabhu



-- 
Harsh J

Mime
View raw message