Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.10.0
-
None
-
Reviewed
Description
In HadoopJobExecHelper the mapProgress and reduceProgress are the value of these counters taken from the running job rounded to an integer percentage. This means that e.g. if the mappers are 99.5% done this is stored as 100%.
One of the most common questions I see from new users is, the map and reduce both report being 100% done, why is the query still running?
By rounding down the value in this interval so it's only 100% when it's really 100% we could avoid that confusion.
Also, the way it appears the QueryPlan and MapRedTask determine if the map/reduce phases are done is by checking if this value == 100. I couldn't find anywhere where they're used for anything significant, but they're reporting early completion.