azkaban/azkaban — pull request #353 by logiclord (2014-11-13 23:11:27+00:00)
Title: Issue 331 : For job with retry - the attempt count doesn't match with lo...

I looked deeper in this issue. Issue with job within embedded flows is that ExecutorServlet in azkaban-webserver expect nested path for job names. for example:-
*Following will not work*
https://localhost:8081/executor?project=test-command&execid=76459&job=test&attempt=0
*Following will work fine*
https://localhost:8081/executor?project=test-command&execid=76459&job= **embeddedFlow:** test&attempt=0

This nested path is required due to 2 reasons:-
* We store job name as nested path in database
* We need to reach to job node (at https://github.com/azkaban/azkaban/blob/master/azkaban-common/src/main/java/azkaban/executor/ExecutableFlowBase.java#L134) which require us to know the subflow path in which a job exists.

I will submit a pull request for the fix