You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by prabhu K <pr...@gmail.com> on 2012/08/17 08:48:15 UTC

Opening hdfs gz file

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

Re: Opening hdfs gz file

Posted by Terry Healy <th...@bnl.gov>.
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 <pr...@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
> 
> 
> 

-- 
Terry Healy / thealy@bnl.gov
Cyber Security Operations
Brookhaven National Laboratory
Building 515, Upton N.Y. 11973

Re: Opening hdfs gz file

Posted by Terry Healy <th...@bnl.gov>.
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 <pr...@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
> 
> 
> 

-- 
Terry Healy / thealy@bnl.gov
Cyber Security Operations
Brookhaven National Laboratory
Building 515, Upton N.Y. 11973

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
Hi,
it shows only other nodes etc except namenode all i can see.

On Sat, Aug 18, 2012 at 10:52 PM, Shashwat Shriparv <
dwivedishashwat@gmail.com> wrote:

> Give command ****
>
> ** **
>
> Jps****
>
> ** **
>
> If you can see Namenode in the process list you can say your Namenode is
> running.****
>
> ** **
>
> *From:* rahul p [mailto:rahulpoolanchalil@gmail.com]
> *Sent:* Saturday, August 18, 2012 4:46 PM
> *To:* user@hadoop.apache.org
>
> *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 <ha...@cloudera.com> 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 <pr...@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****
>
> ** **
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
Hi,
it shows only other nodes etc except namenode all i can see.

On Sat, Aug 18, 2012 at 10:52 PM, Shashwat Shriparv <
dwivedishashwat@gmail.com> wrote:

> Give command ****
>
> ** **
>
> Jps****
>
> ** **
>
> If you can see Namenode in the process list you can say your Namenode is
> running.****
>
> ** **
>
> *From:* rahul p [mailto:rahulpoolanchalil@gmail.com]
> *Sent:* Saturday, August 18, 2012 4:46 PM
> *To:* user@hadoop.apache.org
>
> *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 <ha...@cloudera.com> 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 <pr...@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****
>
> ** **
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
Hi,
it shows only other nodes etc except namenode all i can see.

On Sat, Aug 18, 2012 at 10:52 PM, Shashwat Shriparv <
dwivedishashwat@gmail.com> wrote:

> Give command ****
>
> ** **
>
> Jps****
>
> ** **
>
> If you can see Namenode in the process list you can say your Namenode is
> running.****
>
> ** **
>
> *From:* rahul p [mailto:rahulpoolanchalil@gmail.com]
> *Sent:* Saturday, August 18, 2012 4:46 PM
> *To:* user@hadoop.apache.org
>
> *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 <ha...@cloudera.com> 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 <pr...@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****
>
> ** **
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
Hi,
it shows only other nodes etc except namenode all i can see.

On Sat, Aug 18, 2012 at 10:52 PM, Shashwat Shriparv <
dwivedishashwat@gmail.com> wrote:

> Give command ****
>
> ** **
>
> Jps****
>
> ** **
>
> If you can see Namenode in the process list you can say your Namenode is
> running.****
>
> ** **
>
> *From:* rahul p [mailto:rahulpoolanchalil@gmail.com]
> *Sent:* Saturday, August 18, 2012 4:46 PM
> *To:* user@hadoop.apache.org
>
> *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 <ha...@cloudera.com> 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 <pr...@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****
>
> ** **
>

RE: Opening hdfs gz file

Posted by Shashwat Shriparv <dw...@gmail.com>.
Give command 

 

Jps

 

If you can see Namenode in the process list you can say your Namenode is
running.

 

From: rahul p [mailto:rahulpoolanchalil@gmail.com] 
Sent: Saturday, August 18, 2012 4:46 PM
To: user@hadoop.apache.org
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 <harsh@cloudera.com
<ma...@cloudera.com> > 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 <prabhu.hadoop@gmail.com
<ma...@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

 


RE: Opening hdfs gz file

Posted by Shashwat Shriparv <dw...@gmail.com>.
Give command 

 

Jps

 

If you can see Namenode in the process list you can say your Namenode is
running.

 

From: rahul p [mailto:rahulpoolanchalil@gmail.com] 
Sent: Saturday, August 18, 2012 4:46 PM
To: user@hadoop.apache.org
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 <harsh@cloudera.com
<ma...@cloudera.com> > 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 <prabhu.hadoop@gmail.com
<ma...@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

 


RE: Opening hdfs gz file

Posted by Shashwat Shriparv <dw...@gmail.com>.
Give command 

 

Jps

 

If you can see Namenode in the process list you can say your Namenode is
running.

 

From: rahul p [mailto:rahulpoolanchalil@gmail.com] 
Sent: Saturday, August 18, 2012 4:46 PM
To: user@hadoop.apache.org
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 <harsh@cloudera.com
<ma...@cloudera.com> > 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 <prabhu.hadoop@gmail.com
<ma...@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

 


Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
Hi Prabhu,
formatting itself gives error

On Sat, Aug 18, 2012 at 10:08 PM, rahul p <ra...@gmail.com>wrote:

> its a single node doing it from my vmware..
>
>
> On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <pr...@gmail.com> 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 <ra...@gmail.com>wrote:
>>
>>> hi , how do i make my namenode up.?
>>> can someone help me?
>>>
>>>
>>> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>>>
>>>
>>>
>>
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
Hi Prabhu,
formatting itself gives error

On Sat, Aug 18, 2012 at 10:08 PM, rahul p <ra...@gmail.com>wrote:

> its a single node doing it from my vmware..
>
>
> On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <pr...@gmail.com> 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 <ra...@gmail.com>wrote:
>>
>>> hi , how do i make my namenode up.?
>>> can someone help me?
>>>
>>>
>>> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>>>
>>>
>>>
>>
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
Hi Prabhu,
formatting itself gives error

On Sat, Aug 18, 2012 at 10:08 PM, rahul p <ra...@gmail.com>wrote:

> its a single node doing it from my vmware..
>
>
> On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <pr...@gmail.com> 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 <ra...@gmail.com>wrote:
>>
>>> hi , how do i make my namenode up.?
>>> can someone help me?
>>>
>>>
>>> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>>>
>>>
>>>
>>
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
Hi Prabhu,
formatting itself gives error

On Sat, Aug 18, 2012 at 10:08 PM, rahul p <ra...@gmail.com>wrote:

> its a single node doing it from my vmware..
>
>
> On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <pr...@gmail.com> 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 <ra...@gmail.com>wrote:
>>
>>> hi , how do i make my namenode up.?
>>> can someone help me?
>>>
>>>
>>> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>>>
>>>
>>>
>>
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
its a single node doing it from my vmware..

On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <pr...@gmail.com> 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 <ra...@gmail.com>wrote:
>
>> hi , how do i make my namenode up.?
>> can someone help me?
>>
>>
>> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>>
>>
>>
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
its a single node doing it from my vmware..

On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <pr...@gmail.com> 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 <ra...@gmail.com>wrote:
>
>> hi , how do i make my namenode up.?
>> can someone help me?
>>
>>
>> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>>
>>
>>
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
its a single node doing it from my vmware..

On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <pr...@gmail.com> 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 <ra...@gmail.com>wrote:
>
>> hi , how do i make my namenode up.?
>> can someone help me?
>>
>>
>> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>>
>>
>>
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
its a single node doing it from my vmware..

On Sat, Aug 18, 2012 at 8:27 PM, prabhu K <pr...@gmail.com> 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 <ra...@gmail.com>wrote:
>
>> hi , how do i make my namenode up.?
>> can someone help me?
>>
>>
>> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>>
>>
>>
>

Re: Opening hdfs gz file

Posted by prabhu K <pr...@gmail.com>.
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 <ra...@gmail.com>wrote:

> hi , how do i make my namenode up.?
> can someone help me?
>
>
> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>
>
>

Re: Opening hdfs gz file

Posted by prabhu K <pr...@gmail.com>.
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 <ra...@gmail.com>wrote:

> hi , how do i make my namenode up.?
> can someone help me?
>
>
> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>
>
>

Re: Opening hdfs gz file

Posted by prabhu K <pr...@gmail.com>.
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 <ra...@gmail.com>wrote:

> hi , how do i make my namenode up.?
> can someone help me?
>
>
> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>
>
>

Re: Opening hdfs gz file

Posted by prabhu K <pr...@gmail.com>.
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 <ra...@gmail.com>wrote:

> hi , how do i make my namenode up.?
> can someone help me?
>
>
> On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>>
>
>

RE: Opening hdfs gz file

Posted by Shashwat Shriparv <dw...@gmail.com>.
Give command 

 

Jps

 

If you can see Namenode in the process list you can say your Namenode is
running.

 

From: rahul p [mailto:rahulpoolanchalil@gmail.com] 
Sent: Saturday, August 18, 2012 4:46 PM
To: user@hadoop.apache.org
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 <harsh@cloudera.com
<ma...@cloudera.com> > 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 <prabhu.hadoop@gmail.com
<ma...@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

 


Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
hi , how do i make my namenode up.?
can someone help me?

On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
hi , how do i make my namenode up.?
can someone help me?

On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
hi , how do i make my namenode up.?
can someone help me?

On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>

Re: Opening hdfs gz file

Posted by rahul p <ra...@gmail.com>.
hi , how do i make my namenode up.?
can someone help me?

On Fri, Aug 17, 2012 at 2:52 PM, Harsh J <ha...@cloudera.com> 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 <pr...@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
>

Re: Opening hdfs gz file

Posted by Terry Healy <th...@bnl.gov>.
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 <pr...@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
> 
> 
> 

-- 
Terry Healy / thealy@bnl.gov
Cyber Security Operations
Brookhaven National Laboratory
Building 515, Upton N.Y. 11973

Re: Opening hdfs gz file

Posted by Terry Healy <th...@bnl.gov>.
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 <pr...@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
> 
> 
> 

-- 
Terry Healy / thealy@bnl.gov
Cyber Security Operations
Brookhaven National Laboratory
Building 515, Upton N.Y. 11973

Re: Opening hdfs gz file

Posted by Harsh J <ha...@cloudera.com>.
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 <pr...@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

Re: Opening hdfs gz file

Posted by Harsh J <ha...@cloudera.com>.
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 <pr...@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

Re: Opening hdfs gz file

Posted by Harsh J <ha...@cloudera.com>.
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 <pr...@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

Re: Opening hdfs gz file

Posted by Harsh J <ha...@cloudera.com>.
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 <pr...@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