[
https://issues.apache.org/jira/browse/HIVE-20149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541173#comment-16541173
]
Vineet Garg commented on HIVE-20149:
------------------------------------
HiveCli tries to run {{connect}} command, while running connect cli/beeline
checks if hive conf is initialized if not it is initialized using {{set}}
command. Initialization consists of executing {{set}} command and then using
the result set buffered rows are created which are further used to fill conf
objec, Buffered row/row needs to check the value of
{{hive.cli.print.escape.crlf}} and therefore it also end up calling the same
method which is trying to initialize hive conf resulting in downward spiral.
I think getEscapeCRLF should not try to initialize/create conf and uses an
existing one if it is initialized or otherwise just return false since
{{connect}} or some other command should already have initialized conf by the
time {{hive.cli.print.escape.crlf}} matters.
> TestHiveCli failing/timing out
> ------------------------------
>
> Key: HIVE-20149
> URL: https://issues.apache.org/jira/browse/HIVE-20149
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Reporter: Vineet Garg
> Assignee: Vineet Garg
> Priority: Major
> Attachments: HIVE-20149.1.patch
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)