You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "chenliejun (via GitHub)" <gi...@apache.org> on 2024/09/18 09:02:21 UTC

[I] [Bug] [Event Listener] event-report-http with url does not work in version 2.3.6 (work well in version 2.3.5) [seatunnel]

chenliejun opened a new issue, #7682:
URL: https://github.com/apache/seatunnel/issues/7682

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   I config the seatunnel.yaml refer to the doc:https://seatunnel.apache.org/docs/2.3.7/concept/event-listener#zeta-engine,but it does not work : while the jobs  whole running lifecycle (running sucess), the report hook does not get any notice.
   I used the curl command :
    `curl -X POST http://xx.xx.xx.xx:1024/event/report -H "Content-Type: application/json" -d '{"key":"value"}'`, verfied the report hook is well 
   
   By the way , I am not the first time to use seatunnel , this config work well in release version v2.3.5
   
   ### SeaTunnel Version
   
   2.3.6
   
   ### SeaTunnel Config
   
   ```conf
   seatunnel:
     engine:
       history-job-expire-minutes: 1440
       backup-count: 1
       queue-type: blockingqueue
       print-execution-info-interval: 60
       print-job-metrics-info-interval: 60
       slot-service:
         dynamic-slot: true
       event-report-http:
         url: "http://xx.xx.xx.xx:1024/event/report"
         headers:
           Content-Type: application/json
       checkpoint:
         interval: 10000
         timeout: 60000
         storage:
           type: hdfs
           max-retained: 3
           plugin-config:
             namespace: /data/apache-seatunnel-2.3.6/checkpoint_snapshot/
             storage.type: hdfs
             fs.defaultFS: file:///
   ```
   
   
   ### Running Command
   
   ```shell
   seatunnel.sh -c $SEATUNNEL_HOME/scripts/chen_batch.conf -n chen_batch
   
   chen_batch.conf was just a simple job ,includes source  one mysql jdbc table to sink another mysql jdbc table,no transformer,which work well.
   ```
   
   
   ### Error Exception
   
   ```log
   the logs file(seatunnel-engine-master.log、seatunnel-engine-worker.log) does not show any error . I viewed the source code `org.apache.seatunnel.engine.server.event.JobEventHttpReportHandler` try to find any error keywords but not got.
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   Zeta
   
   ### Java or Scala Version
   
   Java 11
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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@seatunnel.apache.org.apache.org

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


Re: [I] [Bug] [Event Listener] event-report-http with url does not work in version 2.3.7 [seatunnel]

Posted by "chenliejun (via GitHub)" <gi...@apache.org>.
chenliejun commented on issue #7682:
URL: https://github.com/apache/seatunnel/issues/7682#issuecomment-2431394300

   I have verfied it work well in 2.3.8 ,so close this issue


-- 
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@seatunnel.apache.org

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


Re: [I] [Bug] [Event Listener] event-report-http with url does not work in version 2.3.7 [seatunnel]

Posted by "chenliejun (via GitHub)" <gi...@apache.org>.
chenliejun closed issue #7682: [Bug] [Event Listener] event-report-http with url does not work in version 2.3.7
URL: https://github.com/apache/seatunnel/issues/7682


-- 
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@seatunnel.apache.org

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