hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9226) Beeline interweaves the query result and query log sometimes
Date Tue, 30 Dec 2014 08:55:13 GMT

     [ https://issues.apache.org/jira/browse/HIVE-9226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dong Chen updated HIVE-9226:
----------------------------
    Attachment: HIVE-9226.patch

Hi [~brocknoland], 

I uploaded a patch to fix this issue, could you take a look when time is available? Thanks!

In Beeline, the query execution and result fetching is in one thread, and query log fetching
is in another thread. The original idea is interrupting log thread and returning the result
ASAP, then fetch remaining log if there are any.

Comparing the long time of query execution, it might be acceptable to show all the logs before
outputting the result.

> Beeline interweaves the query result and query log sometimes
> ------------------------------------------------------------
>
>                 Key: HIVE-9226
>                 URL: https://issues.apache.org/jira/browse/HIVE-9226
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Dong Chen
>            Assignee: Dong Chen
>            Priority: Minor
>         Attachments: HIVE-9226.patch
>
>
> In most case, Beeline output the query log during execution and output the result at
last. However, sometimes there are logs output after result, although the query has been done.
This might make users a little confused.



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

Mime
View raw message