Revision 94206c722fc119c6a3c35a8c7a94a48faed5cd44 authored by Shahid on 29 November 2018, 17:48:18 UTC, committed by Marcelo Vanzin on 29 November 2018, 17:48:42 UTC
## What changes were proposed in this pull request? When the 'spark.history.fs.inProgressOptimization.enabled' is true, inProgress application's last updated time is not getting updated in the History UI. Also, during the cleaning time, InProgress application is getting removed from the listing, even if the last updated time is within the cleaning threshold time. In this PR, if the fastInprogressOptimization enabled, we update the `lastUpdateTime` of the application as last scan time. This will update the `lastUpdateTime` in the historyUI and also while cleaning, it won't remove if the updateTime is within the cleaning interval ## How was this patch tested? Added UT, attached screen shot. Before patch: ![screenshot from 2018-11-27 23-22-38](https://user-images.githubusercontent.com/23054875/49101600-9b5a3380-f29c-11e8-8efc-3fb594e4279a.png) ![screenshot from 2018-11-27 23-20-11](https://user-images.githubusercontent.com/23054875/49101601-9c8b6080-f29c-11e8-928e-643a8c8f4477.png) After Patch: ![screenshot from 2018-11-27 23-37-10](https://user-images.githubusercontent.com/23054875/49101911-669aac00-f29d-11e8-8181-663e4a08ab0e.png) ![screenshot from 2018-11-27 23-39-04](https://user-images.githubusercontent.com/23054875/49102010-a5306680-f29d-11e8-947a-e8a2a09a785a.png) Closes #23158 from shahidki31/HistoryLastUpdateTime. Authored-by: Shahid <shahidki31@gmail.com> Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com> (cherry picked from commit 24e78b7f163acf6129d934633ae6d3e6d568656a) Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
1 parent 7200915
File | Mode | Size |
---|---|---|
LICENSE-AnchorJS.txt | -rw-r--r-- | 1.1 KB |
LICENSE-CC0.txt | -rw-r--r-- | 6.9 KB |
LICENSE-bootstrap.txt | -rw-r--r-- | 550 bytes |
LICENSE-cloudpickle.txt | -rw-r--r-- | 1.6 KB |
LICENSE-d3.min.js.txt | -rw-r--r-- | 1.4 KB |
LICENSE-dagre-d3.txt | -rw-r--r-- | 1.0 KB |
LICENSE-datatables.txt | -rw-r--r-- | 1.0 KB |
LICENSE-graphlib-dot.txt | -rw-r--r-- | 1.0 KB |
LICENSE-heapq.txt | -rw-r--r-- | 14.2 KB |
LICENSE-join.txt | -rw-r--r-- | 1.5 KB |
LICENSE-jquery.txt | -rw-r--r-- | 1.1 KB |
LICENSE-json-formatter.txt | -rw-r--r-- | 547 bytes |
LICENSE-matchMedia-polyfill.txt | -rw-r--r-- | 149 bytes |
LICENSE-modernizr.txt | -rw-r--r-- | 1.1 KB |
LICENSE-py4j.txt | -rw-r--r-- | 1.4 KB |
LICENSE-respond.txt | -rw-r--r-- | 1.0 KB |
LICENSE-sbt-launch-lib.txt | -rw-r--r-- | 1.5 KB |
LICENSE-sorttable.js.txt | -rw-r--r-- | 937 bytes |
LICENSE-vis.txt | -rw-r--r-- | 406 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...