@Path("jobs/{jobHandle}/instances/")
public List<SchedulerJobInstanceInfo> getJobInstances(@QueryParam("sessionid") LensSessionHandle sessionId,
@PathParam("jobHandle") SchedulerJobHandle jobHandle,
@QueryParam("numResults") Long numResults) throws LensException {
validateSession(sessionId);
<BUG>return getSchedulerService().getJobInstances(sessionId, jobHandle, numResults);
}</BUG>
@GET
@Path("instances/{instanceHandle}")
public SchedulerJobInstanceInfo getInstanceDetails(@QueryParam("sessionid") LensSessionHandle sessionId,

@Path("jobs/{jobHandle}/instances/")
public List<SchedulerJobInstanceInfo> getJobInstances(@QueryParam("sessionid") LensSessionHandle sessionId,
@PathParam("jobHandle") SchedulerJobHandle jobHandle,
@QueryParam("numResults") Long numResults) throws LensException {
validateSession(sessionId);
return getSchedulerService().getJobInstances(jobHandle, numResults);
}
@GET
@Path("instances/{instanceHandle}")
public SchedulerJobInstanceInfo getInstanceDetails(@QueryParam("sessionid") LensSessionHandle sessionId,
