You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Saisai Shao (JIRA)" <ji...@apache.org> on 2016/03/04 11:07:40 UTC

[jira] [Created] (SPARK-13675) The url link in historypage is not correct for application running in yarn cluster mode

Saisai Shao created SPARK-13675:
-----------------------------------

             Summary: The url link in historypage is not correct for application running in yarn cluster mode
                 Key: SPARK-13675
                 URL: https://issues.apache.org/jira/browse/SPARK-13675
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.0.0
            Reporter: Saisai Shao


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 failed 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.

This bug is newly introduced in SPARK-10873, there's no issue in branch 1.6.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org