You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Lefty Leverenz <le...@gmail.com> on 2014/11/14 10:29:11 UTC
Beeline equivalent of "set"
While editing SHOW CONF
<https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-ShowConf>
and updating Configuring Hive
<https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration#AdminManualConfiguration-ConfiguringHive>,
I wondered whether Beeline has a command similar to the CLI's "set" for
either setting or showing the values of configuration parameters.
I also wonder whether --hiveconf (in Beeline or the CLI) can be used
without giving a value, to show the current setting of a particular
parameter.
Would a Beeline expert please take a look at SHOW CONF
<https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-ShowConf>
and Configuring Hive
<https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration#AdminManualConfiguration-ConfiguringHive>
and
suggest revisions?
-- Lefty
Re: Beeline equivalent of "set"
Posted by Xuefu Zhang <xz...@cloudera.com>.
Hi Lefty,
My blog post [1] below might help answer your question.
Thanks,
Xuefu
[1]
http://blog.cloudera.com/blog/2014/02/migrating-from-hive-cli-to-beeline-a-primer/
On Fri, Nov 14, 2014 at 1:29 AM, Lefty Leverenz <le...@gmail.com>
wrote:
> While editing SHOW CONF
> <
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-ShowConf
> >
> and updating Configuring Hive
> <
> https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration#AdminManualConfiguration-ConfiguringHive
> >,
> I wondered whether Beeline has a command similar to the CLI's "set" for
> either setting or showing the values of configuration parameters.
>
> I also wonder whether --hiveconf (in Beeline or the CLI) can be used
> without giving a value, to show the current setting of a particular
> parameter.
>
> Would a Beeline expert please take a look at SHOW CONF
> <
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-ShowConf
> >
> and Configuring Hive
> <
> https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration#AdminManualConfiguration-ConfiguringHive
> >
> and
> suggest revisions?
>
> -- Lefty
>