erenavsarogullari opened a new pull request #29364:
URL: https://github.com/apache/spark/pull/29364


   ### What changes were proposed in this pull request?
   Currently, Spark Public Rest APIs support Application attemptId except SQL 
API. This causes `no such app: application_X` issue when the application has 
`attemptId`.
   
   Please find existing and supported Rest endpoints with attemptId.
   ```
   // Existing Rest Endpoints
   applications/{appId}/sql
   applications/{appId}/sql/{executionId}
   
   // Rest Endpoints required support
   applications/{appId}/{attemptId}/sql 
   applications/{appId}/{attemptId}/sql/{executionId}
   ```
   
   ### Why are the changes needed?
   This causes `no such app: application_X` issue when the application has 
`attemptId`.
   
   ### Does this PR introduce _any_ user-facing change?
   Not yet because SQL Rest API is being planned to release with `Spark 3.1`.
   
   ### How was this patch tested?
   1. New Unit tests are added.
   2. Also, patch has been tested manually through both Spark Core and History 
Server Rest APIs.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to