aboutsummaryrefslogtreecommitdiff
path: root/sql/catalyst
diff options
context:
space:
mode:
authorjerryshao <sshao@hortonworks.com>2016-03-08 09:09:42 -0600
committerTom Graves <tgraves@yahoo-inc.com>2016-03-08 09:09:42 -0600
commit9e86e6efd136182bb00fa925c3818c9baccbd1fc (patch)
tree90e0dfbba60a2373f9512dc98363147e92af6e32 /sql/catalyst
parent9bf76ddde53cf87c9cc3a17b4d357372372cc7be (diff)
downloadspark-9e86e6efd136182bb00fa925c3818c9baccbd1fc.tar.gz
spark-9e86e6efd136182bb00fa925c3818c9baccbd1fc.tar.bz2
spark-9e86e6efd136182bb00fa925c3818c9baccbd1fc.zip
[SPARK-13675][UI] Fix wrong historyserver url link for application running in yarn cluster mode
## What changes were proposed in this pull request? Current URL for each application to access history UI is like: http://localhost:18080/history/application_1457058760338_0016/1/jobs/ or http://localhost:18080/history/application_1457058760338_0016/2/jobs/ Here **1** or **2** represents the number of attempts in `historypage.js`, but it will parse to attempt id in `HistoryServer`, while the correct attempt id should be like "appattempt_1457058760338_0016_000002", so it will fail to parse to a correct attempt id in HistoryServer. This is OK in yarn client mode, since we don't need this attempt id to fetch out the app cache, but it is failed in yarn cluster mode, where attempt id "1" or "2" is actually wrong. So here we should fix this url to parse the correct application id and attempt id. Also the suffix "jobs/" is not needed. Here is the screenshot: ![screen shot 2016-02-29 at 3 57 32 pm](https://cloud.githubusercontent.com/assets/850797/13524377/d4b44348-e235-11e5-8b3e-bc06de306e87.png) ## How was this patch tested? This patch is tested manually, with different master and deploy mode. ![image](https://cloud.githubusercontent.com/assets/850797/13524419/118be5a0-e236-11e5-8022-3ff613ccde46.png) Author: jerryshao <sshao@hortonworks.com> Closes #11518 from jerryshao/SPARK-13675.
Diffstat (limited to 'sql/catalyst')
0 files changed, 0 insertions, 0 deletions