You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/02/22 11:46:25 UTC

[GitHub] [incubator-inlong] dockerzhang commented on a change in pull request #2647: [INLONG-2646][MQ]The startup script cannot detect that pulsar starts the process in standalone mode

dockerzhang commented on a change in pull request #2647:
URL: https://github.com/apache/incubator-inlong/pull/2647#discussion_r811859860



##########
File path: bin/inlong-daemon
##########
@@ -213,7 +213,7 @@ start_inlong_all() {
   echo "Judge the choice of message middleware tubemq or pulsar"
   if [ $source_type == "pulsar" ]; then
     # Judge whether the pulsar cluster is started in the current system
-    pulsar_thread=$($JAVA_HOME/bin/jps | grep PulsarBrokerStarter)
+    pulsar_thread=$($JAVA_HOME/bin/jps | egrep 'PulsarBrokerStarter|PulsarStandaloneStarter')

Review comment:
       ```suggestion
       pulsar_thread=$($JAVA_HOME/bin/jps | egrep 'PulsarBrokerStarter | PulsarStandaloneStarter')
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org