Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When executors are lost, the status is not propagated back to zookeeper #310

Closed
philwinder opened this issue Sep 16, 2015 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@philwinder
Copy link
Contributor

The healthcheck calls the executor lost method, but this method isn't implemented in the scheduler.

This depends on #303 and #318

Need code like the following:

        for (Protos.TaskInfo taskInfo : clusterState.getTaskList()) {
            if (taskInfo.getExecutor().getExecutorId().getValue().equals(executorId.getValue())) {
                LOGGER.debug("Found task match for " + executorId.getValue() + ". Sending status update.");
                statusUpdate(driver, Protos.TaskStatus.newBuilder().setExecutorId(executorId).setSlaveId(slaveId).setTaskId(taskInfo.getTaskId()).setState(Protos.TaskState.TASK_ERROR).build());
            }
        }
@philwinder philwinder added the bug label Sep 16, 2015
@philwinder philwinder self-assigned this Sep 16, 2015
@philwinder philwinder added this to the 0.4.2 milestone Sep 16, 2015
@philwinder
Copy link
Contributor Author

Fixed in #330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant