dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

Logstash publishes elasticsearch data. When it is executing, click stop, and the workerserver service will also stop

Open glz-java opened this issue 6 years ago • 4 comments

Describe the question

When we execute the shell task, during the process of publishing the index through logstash (Note: make sure that the logstash shell node is already running), click stop in the workflow instance, and the workeService service will be stop too

System

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"

Which version of DolphinScheduler: -[1.2.0] OR [1.2.1]

Additional context

img1 BRTYBJ~P6`~68(FA6%YY$UG img3

**Requirement or improvement Expectation: the workers server service will not stop after clicking stop

Logfile dolphinscheduler-worker.log

glz-java avatar Jun 19 '20 07:06 glz-java

this situation is abnormal, you can try set config items in the zookeeper.properties:

zookeeper.session.timeout=60000 zookeeper.connection.timeout=30000

davidzollo avatar Jun 20 '20 13:06 davidzollo

1、are you sure that your linux user jiawei can execute /home/fuming/software/logstash-7.1.1/bin/logstash -f /home/fuming/software/logstash-7.1.1/config_db_indexer/sql.indexer_es.conf ? 2、does a simple shell task like echo 111 runs normally, and is this simple shell task also lead to Worker server stop?

davidzollo avatar Jun 20 '20 13:06 davidzollo

1、are you sure that your linux user jiawei can execute /home/fuming/software/logstash-7.1.1/bin/logstash -f /home/fuming/software/logstash-7.1.1/config_db_indexer/sql.indexer_es.conf ? 2、does a simple shell task like echo 111 runs normally, and is this simple shell task also lead to Worker server stop?

1、It can be confirmed that normal conditions can be executed successfully 2、Simple shell tasks are OK

At present, the problem only occurs when the logstash task is executed. If you do not click stop manually, the problem will not occur. You can execute the process normally

Simple shell task, click stop task will not appear, only in logstash task

glz-java avatar Jun 22 '20 02:06 glz-java

this situation is abnormal, you can try set config items in the zookeeper.properties:

zookeeper.session.timeout=60000 zookeeper.connection.timeout=30000

After these two parameters are modified, they still appear

glz-java avatar Jun 22 '20 02:06 glz-java