You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Kishore kumar <ki...@techdigita.in> on 2014/04/28 17:17:45 UTC

set hive.cli.print.header=true

Hi,

I am using cloudera4.5 with cloudera manager4.8, I want to set
hive.cli.print.header=true, where should i specify, is it possible to
specify in CM, or from cli what is location, please help me.

-- Thanks,


*Kishore *

Re: set hive.cli.print.header=true

Posted by Adrian Hains <ah...@gmail.com>.
For what it's worth, you can also set this per-client by putting this
.hiverc file in the users home directory. E.g. I have a file
/home/ahains/.hiverc that enables hive.cli.print.header.
Cheers,
-a


On Mon, Apr 28, 2014 at 9:13 AM, Matouk IFTISSEN <matouk.iftissen@ysance.com
> wrote:

> Hé,
> edit a file  .hiverc in /path_to_hive/conf/ and set in this file what do
> you want :
> add jar /path_to/hive-contrib-*.jar;
> set hive.cli.print.header=true; --print the filds name
> set hive.cli.print.current.db=true; -- pint data base name
>
> And then copy this file .hiverc  to all hive nodes  in /path_to_hive/conf/
>
> This is done ;)
>
>
>
>
>
>
> 2014-04-28 17:17 GMT+02:00 Kishore kumar <ki...@techdigita.in>:
>
> Hi,
>>
>> I am using cloudera4.5 with cloudera manager4.8, I want to set
>> hive.cli.print.header=true, where should i specify, is it possible to
>> specify in CM, or from cli what is location, please help me.
>>
>> -- Thanks,
>>
>>
>> *Kishore *
>>
>
>
>
> --
>
> *Matouk IFTISSEN | Consultant BI & Big Data [image:
> http://www.ysance.com] *
> 24 rue du sentier - 75002 Paris - www.ysance.com <http://www.ysance.com/>
> Fax : +33 1 73 72 97 26
> *Ysance sur* :*Twitter* <http://twitter.com/ysance>* | Facebook
> <https://www.facebook.com/pages/Ysance/131036788697> | Google+
> <https://plus.google.com/u/0/b/115710923959357341736/115710923959357341736/posts> | LinkedIn
> <http://www.linkedin.com/company/ysance> | Newsletter
> <http://www.ysance.com/nous-contacter.html>*
> *Nos autres sites* : *ys4you* <http://wwww.ys4you.com/>* | labdecisionnel
> <http://www.labdecisionnel.com/> | decrypt <http://decrypt.ysance.com/>*
>

Re: set hive.cli.print.header=true

Posted by Matouk IFTISSEN <ma...@ysance.com>.
Hé,
edit a file  .hiverc in /path_to_hive/conf/ and set in this file what do
you want :
add jar /path_to/hive-contrib-*.jar;
set hive.cli.print.header=true; --print the filds name
set hive.cli.print.current.db=true; -- pint data base name

And then copy this file .hiverc  to all hive nodes  in /path_to_hive/conf/

This is done ;)






2014-04-28 17:17 GMT+02:00 Kishore kumar <ki...@techdigita.in>:

> Hi,
>
> I am using cloudera4.5 with cloudera manager4.8, I want to set
> hive.cli.print.header=true, where should i specify, is it possible to
> specify in CM, or from cli what is location, please help me.
>
> -- Thanks,
>
>
> *Kishore *
>



-- 

*Matouk IFTISSEN | Consultant BI & Big Data [image: http://www.ysance.com] *
24 rue du sentier - 75002 Paris - www.ysance.com <http://www.ysance.com/>
Fax : +33 1 73 72 97 26
*Ysance sur* :*Twitter* <http://twitter.com/ysance>* | Facebook
<https://www.facebook.com/pages/Ysance/131036788697> | Google+
<https://plus.google.com/u/0/b/115710923959357341736/115710923959357341736/posts>
| LinkedIn
<http://www.linkedin.com/company/ysance> | Newsletter
<http://www.ysance.com/nous-contacter.html>*
*Nos autres sites* : *ys4you* <http://wwww.ys4you.com/>* | labdecisionnel
<http://www.labdecisionnel.com/> | decrypt <http://decrypt.ysance.com/>*