bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/task/ComponentStartTask.java [38:51]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void onSuccess() {
        super.onSuccess();

        String componentName = taskContext.getComponentName();
        String hostname = taskContext.getHostname();
        ComponentQuery componentQuery = ComponentQuery.builder()
                .clusterId(taskContext.getClusterId())
                .hostname(hostname)
                .name(componentName)
                .build();
        ComponentPO componentPO = componentDao.findByQuery(componentQuery).get(0);
        componentPO.setStatus(HealthyStatusEnum.HEALTHY.getCode());
        componentDao.partialUpdateById(componentPO);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/task/ComponentCheckTask.java [38:51]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void onSuccess() {
        super.onSuccess();

        String componentName = taskContext.getComponentName();
        String hostname = taskContext.getHostname();
        ComponentQuery componentQuery = ComponentQuery.builder()
                .clusterId(taskContext.getClusterId())
                .hostname(hostname)
                .name(componentName)
                .build();
        ComponentPO componentPO = componentDao.findByQuery(componentQuery).get(0);
        componentPO.setStatus(HealthyStatusEnum.HEALTHY.getCode());
        componentDao.partialUpdateById(componentPO);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



