You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Jacques Nadeau <ja...@gmail.com> on 2015/02/04 17:45:58 UTC

Re: Review Request 30404: DRILL-1747: Intermediate query profile reporting


> On Jan. 30, 2015, 1:32 a.m., Chris Westin wrote:
> > exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java, line 223
> > <https://reviews.apache.org/r/30404/diff/1/?file=839779#file839779line223>
> >
> >     Isn't this redundant with what QueryManager has? QueryManager is a FragmentStatusListener, and it's statusUpdate() method maintains status for fragments via updateFragmentStatus(). It seems like all that is required is to ask for that status when you want it.

Fragment status listener only reports status changes.  This captures the current stats without a status change.  This allows the profile UI to provide query stats for long running queries so people can see their query is progressing even if it is not complete.


- Jacques


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30404/#review70304
-----------------------------------------------------------


On Jan. 29, 2015, 7:35 a.m., Jacques Nadeau wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30404/
> -----------------------------------------------------------
> 
> (Updated Jan. 29, 2015, 7:35 a.m.)
> 
> 
> Review request for drill, Chris Westin and Steven Phillips.
> 
> 
> Repository: drill-git
> 
> 
> Description
> -------
> 
> Update Workmanager to report status of fragments back to Foreman so that profiles show intermediate status.
> 
> 
> Diffs
> -----
> 
>   exec/java-exec/src/main/java/org/apache/drill/exec/work/StatusProvider.java 9215f43 
>   exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java 5bc3da1 
>   exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/AbstractStatusReporter.java c7ac311 
>   exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/FragmentExecutor.java 9ffe643 
> 
> Diff: https://reviews.apache.org/r/30404/diff/
> 
> 
> Testing
> -------
> 
> Hand testing on long running queries to ensure query stats were updated during query.
> 
> 
> Thanks,
> 
> Jacques Nadeau
> 
>