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

ASF subversion and git services commented on IMPALA-12048:
----------------------------------------------------------

Commit 5c003cdcda604c43dd836571db02afcfbdc05dbc in impala's branch 
refs/heads/master from Csaba Ringhofer
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=5c003cdcd ]

IMPALA-12978: Fix impala-shell`s live progress with older Impalas

If the Impala server has an older version that does not contain
IMPALA-12048 then TExecProgress.total_fragment_instances will be
None, leading to error when checking total_fragment_instances > 0.

Note that this issue only comes with Python 3, in Python 2 None > 0
returns False.

Testing:
- Manually checked with a modified Impala that doesn't set
  total_fragment_instances. Only the scanner progress bar is shown
  in this case.

Change-Id: Ic6562ff6c908bfebd09b7612bc5bcbd92623a8e6
Reviewed-on: http://gerrit.cloudera.org:8080/21256
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Zihao Ye <[email protected]>


> Add query progress of a query to Impala WebUI
> ---------------------------------------------
>
>                 Key: IMPALA-12048
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12048
>             Project: IMPALA
>          Issue Type: Improvement
>            Reporter: YifanZhang
>            Assignee: YifanZhang
>            Priority: Major
>
> Now we can get the scan progress of a query from the /queries webpage. For 
> CPU-intensive queries, the scan progress may reach 100% soon,  but there is 
> still some time before a query is completed. In this case, we may need 
> another progress bar to show the progress of query execution. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to