|
|
prabhu K 2012-08-17, 06:48
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
+
prabhu K 2012-08-17, 06:48
-
Re: Opening hdfs gz file
Harsh J 2012-08-17, 06:52
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 <[EMAIL PROTECTED]> 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
+
Harsh J 2012-08-17, 06:52
-
Re: Opening hdfs gz file
rahul p 2012-08-18, 11:16
hi , how do i make my namenode up.? can someone help me?
On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <[EMAIL PROTECTED]> wrote:
> 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 <[EMAIL PROTECTED]> > 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 >
+
rahul p 2012-08-18, 11:16
-
Re: Opening hdfs gz file
prabhu K 2012-08-18, 12:27
Hi Rahul,
what is your hadoop configuration it is single node or multi node setup?
Thanks, Prabhu,.
On Sat, Aug 18, 2012 at 4:46 PM, rahul p <[EMAIL PROTECTED]>wrote:
> hi , how do i make my namenode up.? > can someone help me? > > > On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <[EMAIL PROTECTED]> wrote: > >> 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 <[EMAIL PROTECTED]> >> 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 >> > >
+
prabhu K 2012-08-18, 12:27
-
Re: Opening hdfs gz file
rahul p 2012-08-18, 14:08
its a single node doing it from my vmware..
On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <[EMAIL PROTECTED]> wrote:
> Hi Rahul, > > what is your hadoop configuration it is single node or multi node setup? > > Thanks, > Prabhu,. > > > On Sat, Aug 18, 2012 at 4:46 PM, rahul p <[EMAIL PROTECTED]>wrote: > >> hi , how do i make my namenode up.? >> can someone help me? >> >> >> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <[EMAIL PROTECTED]> wrote: >> >>> 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 <[EMAIL PROTECTED]> >>> 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 >>> >> >> >
+
rahul p 2012-08-18, 14:08
-
Re: Opening hdfs gz file
rahul p 2012-08-18, 14:09
Hi Prabhu, formatting itself gives error
On Sat, Aug 18, 2012 at 10:08 PM, rahul p <[EMAIL PROTECTED]>wrote:
> its a single node doing it from my vmware.. > > > On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <[EMAIL PROTECTED]> wrote: > >> Hi Rahul, >> >> what is your hadoop configuration it is single node or multi node setup? >> >> Thanks, >> Prabhu,. >> >> >> On Sat, Aug 18, 2012 at 4:46 PM, rahul p <[EMAIL PROTECTED]>wrote: >> >>> hi , how do i make my namenode up.? >>> can someone help me? >>> >>> >>> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <[EMAIL PROTECTED]> wrote: >>> >>>> 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 <[EMAIL PROTECTED]> >>>> 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 >>>> >>> >>> >> >
+
rahul p 2012-08-18, 14:09
-
RE: Opening hdfs gz file
Shashwat Shriparv 2012-08-18, 14:52
Give command
Jps
If you can see Namenode in the process list you can say your Namenode is running.
From: rahul p [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 18, 2012 4:46 PM To: [EMAIL PROTECTED] Subject: Re: Opening hdfs gz file
hi , how do i make my namenode up.?
can someone help me?
On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:
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 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > 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
+
Shashwat Shriparv 2012-08-18, 14:52
-
Re: Opening hdfs gz file
rahul p 2012-08-18, 15:18
Hi, it shows only other nodes etc except namenode all i can see.
On Sat, Aug 18, 2012 at 10:52 PM, Shashwat Shriparv < [EMAIL PROTECTED]> wrote:
> Give command **** > > ** ** > > Jps**** > > ** ** > > If you can see Namenode in the process list you can say your Namenode is > running.**** > > ** ** > > *From:* rahul p [mailto:[EMAIL PROTECTED]] > *Sent:* Saturday, August 18, 2012 4:46 PM > *To:* [EMAIL PROTECTED] > > *Subject:* Re: Opening hdfs gz file**** > > ** ** > > hi , how do i make my namenode up.?**** > > can someone help me?**** > > On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <[EMAIL PROTECTED]> wrote:**** > > 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 <[EMAIL PROTECTED]> > 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**** > > ** ** >
+
rahul p 2012-08-18, 15:18
-
Re: Opening hdfs gz file
Terry Healy 2012-08-17, 14:09
This might help in you efforts: http://docs.oracle.com/javase/7/docs/api/java/util/zip/GZIPInputStream.html-Terry On 08/17/2012 02:52 AM, Harsh J wrote: > 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 <[EMAIL PROTECTED]> 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 > > > -- Terry Healy / [EMAIL PROTECTED] Cyber Security Operations Brookhaven National Laboratory Building 515, Upton N.Y. 11973
+
Terry Healy 2012-08-17, 14:09
-
RE: Opening hdfs gz file
jcfolsom@... 2012-08-17, 14:21
1. Copy the file to the local file system: hadoop fs -copyToLocal [-ignorecrc] [-crc] URI <localdst> 2. tar -zxf filename -------- Original Message -------- Subject: Re: Opening hdfs gz file From: Terry Healy <[EMAIL PROTECTED]> Date: Fri, August 17, 2012 10:09 am To: [EMAIL PROTECTED] This might help in you efforts: http://docs.oracle.com/javase/7/docs/api/java/util/zip/GZIPInputStream.html-Terry On 08/17/2012 02:52 AM, Harsh J wrote: > 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 <[EMAIL PROTECTED]> 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 > > > -- Terry Healy / [EMAIL PROTECTED] Cyber Security Operations Brookhaven National Laboratory Building 515, Upton N.Y. 11973
+
jcfolsom@... 2012-08-17, 14:21
|
|