Github user harishreedharan commented on the pull request:

    https://github.com/apache/spark/pull/5792#issuecomment-104335380
  
    I managed to merge most of this with @squito's new API. There is one issue 
though - the api has the format: `api/applications/<appId>/<attemptId>` and 
changing this is quite painful and requires a lot of surgical changes in the 
way the `SparkUI` is initialized, which I really don't want to risk. 
    
    So there are 2 options: the download api would be something like 
`api/applications/<appId>/<attemptId>/download` which could return:
    
    1. Given an `appId`, return event logs for all attempts in a zip file 
regardless of the `attemptId` (current approach)
    2. Given an `appId` and `attemptId`, return only the event logs for that 
particular attempt. This is more intuitive, but the user will need to download 
the logs separately for each attempt separately.
    
    @squito, @vanzin - thoughts?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to