[ https://issues.apache.org/jira/browse/HIVE-7615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Chen updated HIVE-7615: ---------------------------- Attachment: HIVE-7615.patch [~cartershanklin], [~brocknoland], [~thejas] Thanks very much for looking at this jira and give ideas on it. I got a patch uploaded. Since HIVE-4629 was in trunk, I tried to use that API to fetch logs and it works fine. Review board: https://reviews.apache.org/r/25575/ The patch mainly contains: 1. add jdbc layer API, which use thrift method FetchResult(), to get operation (query) logs. Also add a QueryStatus to keep the query state in jdbc, since execute() method is blocking and get log method needs to be sync up with it in another thread. 2. Beeline use the added jdbc API to fetch logs and show them in console. Use existed 'silent' option to choose whether to show logs, since Beeline seems to have many options already. If a seperated option like "showProgress" is preferable, please let me know. > Beeline should have an option for user to see the query progress > ---------------------------------------------------------------- > > Key: HIVE-7615 > URL: https://issues.apache.org/jira/browse/HIVE-7615 > Project: Hive > Issue Type: Improvement > Components: CLI > Reporter: Dong Chen > Assignee: Dong Chen > Attachments: HIVE-7615.patch > > > When executing query in Beeline, user should have a option to see the > progress through the outputs. > Beeline could use the API introduced in HIVE-4629 to get and display the logs > to the client. -- This message was sent by Atlassian JIRA (v6.3.4#6332)