diff options
author | Gang Wu <wgtmac@uber.com> | 2016-09-29 15:51:05 -0400 |
---|---|---|
committer | Andrew Or <andrewor14@gmail.com> | 2016-09-29 15:51:38 -0400 |
commit | cb87b3ced9453b5717fa8e8637b97a2f3f25fdd7 (patch) | |
tree | 19f7155fe954e68467cbe41e69f7b032391b92cc /python | |
parent | 7f779e7439127efa0e3611f7745e1c8423845198 (diff) | |
download | spark-cb87b3ced9453b5717fa8e8637b97a2f3f25fdd7.tar.gz spark-cb87b3ced9453b5717fa8e8637b97a2f3f25fdd7.tar.bz2 spark-cb87b3ced9453b5717fa8e8637b97a2f3f25fdd7.zip |
[SPARK-17672] Spark 2.0 history server web Ui takes too long for a single application
Added a new API getApplicationInfo(appId: String) in class ApplicationHistoryProvider and class SparkUI to get app info. In this change, FsHistoryProvider can directly fetch one app info in O(1) time complexity compared to O(n) before the change which used an Iterator.find() interface.
Both ApplicationCache and OneApplicationResource classes adopt this new api.
manual tests
Author: Gang Wu <wgtmac@uber.com>
Closes #15247 from wgtmac/SPARK-17671.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions