hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6173) Beeline doesn't accept --hiveconf option as Hive CLI does
Date Tue, 06 Jan 2015 20:34:36 GMT

    [ https://issues.apache.org/jira/browse/HIVE-6173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266711#comment-14266711
] 

Xuefu Zhang commented on HIVE-6173:
-----------------------------------

Aha. I see. These undocumented properties, such as maxHeight and trimScripts, are not internal,
but unknown to majority of users (probably due to lack of documentation). While it's nice
to have them documented, but doing so requires work load from the community. Not just write
a few works about them, but also ensure they are doing what they are supposed to do. Here
I give some descriptions w/o the merit of guaranty:

1. showElapsedTime -- whether to log elapsed time at command prompt. Default true.
2. maxHeight, maxWidth -- maximum height/width of the output. Default, the height/width of
the terminal.
3. timeout -- unused
4. trimScripts -- whether to trim leading/trailing spaces/tabs in the script. Default true.
5. allowMultiLineCommand -- whether to allow multi-line commands. Default true.



> Beeline doesn't accept --hiveconf option as Hive CLI does
> ---------------------------------------------------------
>
>                 Key: HIVE-6173
>                 URL: https://issues.apache.org/jira/browse/HIVE-6173
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 0.10.0, 0.11.0, 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>              Labels: TODOC13
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6173.1.patch, HIVE-6173.2.patch, HIVE-6173.patch
>
>
> {code}
> > beeline -u jdbc:hive2:// --hiveconf a=b
> Usage: java org.apache.hive.cli.beeline.BeeLine 
> {code}
> Since Beeline is replacing Hive CLI, it should support this command line option as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message