You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Sachin Sudarshana <sa...@gmail.com> on 2013/05/23 12:32:42 UTC

io.compression.codecs not found

Hi,

I'm trying to run some queries on compressed tables in Hive 0.10. I wish to
know what all compression codecs are available which i can make use of.
However, when i run set io.compression.codecs in the hive CLI, it throws an
error saying the io.compression.codecs is not found.

I'm unable to figure out why its happening. Has it (the hiveconf property)
been removed from 0.10?

Any help is greatly appreciated!

Thank you,
Sachin

Re: io.compression.codecs not found

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
<property>

<name>io.compression.codecs</name>
<value>org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.BZip2Codec,org.apache.hadoop.io.compress.SnappyCodec</value>
</property>



From: "bejoy_ks@yahoo.com<ma...@yahoo.com>" <be...@yahoo.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>, "bejoy_ks@yahoo.com<ma...@yahoo.com>" <be...@yahoo.com>>
Date: Thursday, May 23, 2013 7:39 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Subject: Re: io.compression.codecs not found

These are the default, add snappy as well along

<property>
<name>io.compression.codecs</name>
<value>org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.BZip2Codec</value>
</property>
Regards
Bejoy KS

Sent from remote device, Please excuse typos
________________________________
From: Sachin Sudarshana <sa...@gmail.com>>
Date: Thu, 23 May 2013 20:01:17 +0530
To: <us...@hive.apache.org>>; <be...@yahoo.com>>
ReplyTo: user@hive.apache.org<ma...@hive.apache.org>
Subject: Re: io.compression.codecs not found

Hi Bejoy,

Thanks for the reply.
I would like to know "what" are the codecs that are available by default in the Hadoop system, among which i can choose to set in the core-site.xml.

For ex: LZO compression codecs are not available by default and we have to install the required libraries for it.

Thank you,
Sachin


On Thu, May 23, 2013 at 7:55 PM, <be...@yahoo.com>> wrote:
Go to $HADOOP_HOME/config open and edit core-site.xml

Add a new property 'io.compression.codecs' and assign the required compression codecs as its value.
Regards
Bejoy KS

Sent from remote device, Please excuse typos
________________________________
From: Sachin Sudarshana <sa...@gmail.com>>
Date: Thu, 23 May 2013 19:46:37 +0530
To: <us...@hive.apache.org>>
ReplyTo: user@hive.apache.org<ma...@hive.apache.org>
Subject: Re: io.compression.codecs not found

Hi,

I'm not using CM. I have installed CDH 4.2.1 using Linux packages.

Thank you,
Sachin


On Thu, May 23, 2013 at 7:13 PM, Sanjay Subramanian <Sa...@wizecommerce.com>> wrote:
This property needs to be set in core-site.xml. If u r using clouderamanager then ping me I will tell u how to set it there. Out of the box hive works beautifully with gzip and snappy.  And if u r using lzo then needs some plumbing. Depends on what ur usecase is I can provide guidance.

Regards
Sanjay

Sent from my iPhone

On May 23, 2013, at 3:33 AM, "Sachin Sudarshana" <sa...@gmail.com>> wrote:

> Hi,
>
> I'm trying to run some queries on compressed tables in Hive 0.10. I wish to know what all compression codecs are available which i can make use of.
> However, when i run set io.compression.codecs in the hive CLI, it throws an error saying the io.compression.codecs is not found.
>
> I'm unable to figure out why its happening. Has it (the hiveconf property) been removed from 0.10?
>
> Any help is greatly appreciated!
>
> Thank you,
> Sachin
>

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.




CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: io.compression.codecs not found

Posted by be...@yahoo.com.
These are the default, add snappy as well along

<property>
  <name>io.compression.codecs</name>
  <value>org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.BZip2Codec</value>
  </property>

Regards 
Bejoy KS

Sent from remote device, Please excuse typos

-----Original Message-----
From: Sachin Sudarshana <sa...@gmail.com>
Date: Thu, 23 May 2013 20:01:17 
To: <us...@hive.apache.org>; <be...@yahoo.com>
Reply-To: user@hive.apache.org
Subject: Re: io.compression.codecs not found

Hi Bejoy,

Thanks for the reply.
I would like to know "what" are the codecs that are available by default in
the Hadoop system, among which i can choose to set in the core-site.xml.

For ex: LZO compression codecs are not available by default and we have to
install the required libraries for it.

Thank you,
Sachin


On Thu, May 23, 2013 at 7:55 PM, <be...@yahoo.com> wrote:

> **
> Go to $HADOOP_HOME/config open and edit core-site.xml
>
> Add a new property 'io.compression.codecs' and assign the required
> compression codecs as its value.
> Regards
> Bejoy KS
>
> Sent from remote device, Please excuse typos
> ------------------------------
> *From: * Sachin Sudarshana <sa...@gmail.com>
> *Date: *Thu, 23 May 2013 19:46:37 +0530
> *To: *<us...@hive.apache.org>
> *ReplyTo: * user@hive.apache.org
> *Subject: *Re: io.compression.codecs not found
>
> Hi,
>
> I'm not using CM. I have installed CDH 4.2.1 using Linux packages.
>
> Thank you,
> Sachin
>
>
> On Thu, May 23, 2013 at 7:13 PM, Sanjay Subramanian <
> Sanjay.Subramanian@wizecommerce.com> wrote:
>
>> This property needs to be set in core-site.xml. If u r using
>> clouderamanager then ping me I will tell u how to set it there. Out of the
>> box hive works beautifully with gzip and snappy.  And if u r using lzo then
>> needs some plumbing. Depends on what ur usecase is I can provide guidance.
>>
>> Regards
>> Sanjay
>>
>> Sent from my iPhone
>>
>> On May 23, 2013, at 3:33 AM, "Sachin Sudarshana" <sa...@gmail.com>
>> wrote:
>>
>> > Hi,
>> >
>> > I'm trying to run some queries on compressed tables in Hive 0.10. I
>> wish to know what all compression codecs are available which i can make use
>> of.
>> > However, when i run set io.compression.codecs in the hive CLI, it
>> throws an error saying the io.compression.codecs is not found.
>> >
>> > I'm unable to figure out why its happening. Has it (the hiveconf
>> property) been removed from 0.10?
>> >
>> > Any help is greatly appreciated!
>> >
>> > Thank you,
>> > Sachin
>> >
>>
>> CONFIDENTIALITY NOTICE
>> ======================
>> This email message and any attachments are for the exclusive use of the
>> intended recipient(s) and may contain confidential and privileged
>> information. Any unauthorized review, use, disclosure or distribution is
>> prohibited. If you are not the intended recipient, please contact the
>> sender by reply email and destroy all copies of the original message along
>> with any attachments, from your computer system. If you are the intended
>> recipient, please be advised that the content of this message is subject to
>> access, review and disclosure by the sender's Email System Administrator.
>>
>>
>


Re: io.compression.codecs not found

Posted by Sachin Sudarshana <sa...@gmail.com>.
Hi Bejoy,

Thanks for the reply.
I would like to know "what" are the codecs that are available by default in
the Hadoop system, among which i can choose to set in the core-site.xml.

For ex: LZO compression codecs are not available by default and we have to
install the required libraries for it.

Thank you,
Sachin


On Thu, May 23, 2013 at 7:55 PM, <be...@yahoo.com> wrote:

> **
> Go to $HADOOP_HOME/config open and edit core-site.xml
>
> Add a new property 'io.compression.codecs' and assign the required
> compression codecs as its value.
> Regards
> Bejoy KS
>
> Sent from remote device, Please excuse typos
> ------------------------------
> *From: * Sachin Sudarshana <sa...@gmail.com>
> *Date: *Thu, 23 May 2013 19:46:37 +0530
> *To: *<us...@hive.apache.org>
> *ReplyTo: * user@hive.apache.org
> *Subject: *Re: io.compression.codecs not found
>
> Hi,
>
> I'm not using CM. I have installed CDH 4.2.1 using Linux packages.
>
> Thank you,
> Sachin
>
>
> On Thu, May 23, 2013 at 7:13 PM, Sanjay Subramanian <
> Sanjay.Subramanian@wizecommerce.com> wrote:
>
>> This property needs to be set in core-site.xml. If u r using
>> clouderamanager then ping me I will tell u how to set it there. Out of the
>> box hive works beautifully with gzip and snappy.  And if u r using lzo then
>> needs some plumbing. Depends on what ur usecase is I can provide guidance.
>>
>> Regards
>> Sanjay
>>
>> Sent from my iPhone
>>
>> On May 23, 2013, at 3:33 AM, "Sachin Sudarshana" <sa...@gmail.com>
>> wrote:
>>
>> > Hi,
>> >
>> > I'm trying to run some queries on compressed tables in Hive 0.10. I
>> wish to know what all compression codecs are available which i can make use
>> of.
>> > However, when i run set io.compression.codecs in the hive CLI, it
>> throws an error saying the io.compression.codecs is not found.
>> >
>> > I'm unable to figure out why its happening. Has it (the hiveconf
>> property) been removed from 0.10?
>> >
>> > Any help is greatly appreciated!
>> >
>> > Thank you,
>> > Sachin
>> >
>>
>> CONFIDENTIALITY NOTICE
>> ======================
>> This email message and any attachments are for the exclusive use of the
>> intended recipient(s) and may contain confidential and privileged
>> information. Any unauthorized review, use, disclosure or distribution is
>> prohibited. If you are not the intended recipient, please contact the
>> sender by reply email and destroy all copies of the original message along
>> with any attachments, from your computer system. If you are the intended
>> recipient, please be advised that the content of this message is subject to
>> access, review and disclosure by the sender's Email System Administrator.
>>
>>
>

Re: io.compression.codecs not found

Posted by be...@yahoo.com.
Go to $HADOOP_HOME/config open and edit core-site.xml

Add a new property 'io.compression.codecs' and assign the required compression codecs as its value.

Regards 
Bejoy KS

Sent from remote device, Please excuse typos

-----Original Message-----
From: Sachin Sudarshana <sa...@gmail.com>
Date: Thu, 23 May 2013 19:46:37 
To: <us...@hive.apache.org>
Reply-To: user@hive.apache.org
Subject: Re: io.compression.codecs not found

Hi,

I'm not using CM. I have installed CDH 4.2.1 using Linux packages.

Thank you,
Sachin


On Thu, May 23, 2013 at 7:13 PM, Sanjay Subramanian <
Sanjay.Subramanian@wizecommerce.com> wrote:

> This property needs to be set in core-site.xml. If u r using
> clouderamanager then ping me I will tell u how to set it there. Out of the
> box hive works beautifully with gzip and snappy.  And if u r using lzo then
> needs some plumbing. Depends on what ur usecase is I can provide guidance.
>
> Regards
> Sanjay
>
> Sent from my iPhone
>
> On May 23, 2013, at 3:33 AM, "Sachin Sudarshana" <sa...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I'm trying to run some queries on compressed tables in Hive 0.10. I wish
> to know what all compression codecs are available which i can make use of.
> > However, when i run set io.compression.codecs in the hive CLI, it throws
> an error saying the io.compression.codecs is not found.
> >
> > I'm unable to figure out why its happening. Has it (the hiveconf
> property) been removed from 0.10?
> >
> > Any help is greatly appreciated!
> >
> > Thank you,
> > Sachin
> >
>
> CONFIDENTIALITY NOTICE
> ======================
> This email message and any attachments are for the exclusive use of the
> intended recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please contact the
> sender by reply email and destroy all copies of the original message along
> with any attachments, from your computer system. If you are the intended
> recipient, please be advised that the content of this message is subject to
> access, review and disclosure by the sender's Email System Administrator.
>
>


Re: io.compression.codecs not found

Posted by Sachin Sudarshana <sa...@gmail.com>.
Hi,

I'm not using CM. I have installed CDH 4.2.1 using Linux packages.

Thank you,
Sachin


On Thu, May 23, 2013 at 7:13 PM, Sanjay Subramanian <
Sanjay.Subramanian@wizecommerce.com> wrote:

> This property needs to be set in core-site.xml. If u r using
> clouderamanager then ping me I will tell u how to set it there. Out of the
> box hive works beautifully with gzip and snappy.  And if u r using lzo then
> needs some plumbing. Depends on what ur usecase is I can provide guidance.
>
> Regards
> Sanjay
>
> Sent from my iPhone
>
> On May 23, 2013, at 3:33 AM, "Sachin Sudarshana" <sa...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I'm trying to run some queries on compressed tables in Hive 0.10. I wish
> to know what all compression codecs are available which i can make use of.
> > However, when i run set io.compression.codecs in the hive CLI, it throws
> an error saying the io.compression.codecs is not found.
> >
> > I'm unable to figure out why its happening. Has it (the hiveconf
> property) been removed from 0.10?
> >
> > Any help is greatly appreciated!
> >
> > Thank you,
> > Sachin
> >
>
> CONFIDENTIALITY NOTICE
> ======================
> This email message and any attachments are for the exclusive use of the
> intended recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please contact the
> sender by reply email and destroy all copies of the original message along
> with any attachments, from your computer system. If you are the intended
> recipient, please be advised that the content of this message is subject to
> access, review and disclosure by the sender's Email System Administrator.
>
>

Re: io.compression.codecs not found

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
This property needs to be set in core-site.xml. If u r using clouderamanager then ping me I will tell u how to set it there. Out of the box hive works beautifully with gzip and snappy.  And if u r using lzo then needs some plumbing. Depends on what ur usecase is I can provide guidance.

Regards
Sanjay

Sent from my iPhone

On May 23, 2013, at 3:33 AM, "Sachin Sudarshana" <sa...@gmail.com> wrote:

> Hi,
>
> I'm trying to run some queries on compressed tables in Hive 0.10. I wish to know what all compression codecs are available which i can make use of.
> However, when i run set io.compression.codecs in the hive CLI, it throws an error saying the io.compression.codecs is not found.
>
> I'm unable to figure out why its happening. Has it (the hiveconf property) been removed from 0.10?
>
> Any help is greatly appreciated!
>
> Thank you,
> Sachin
>

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.