You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "sheng-jie (via GitHub)" <gi...@apache.org> on 2023/12/19 12:57:22 UTC

[I] [Bug] [REST-API] Cannot get finished job status with new api `/hazelcast/rest/maps/finished-jobs/:state` [seatunnel]

sheng-jie opened a new issue, #6037:
URL: https://github.com/apache/seatunnel/issues/6037

   ### 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 build seatunnel pacakge with latest dev branch to test new merged [rest -api-feature ](https://github.com/apache/seatunnel/pull/5949).
   
   After I run the job, when I call `/hazelcast/rest/maps/finished-jobs/:state` only 204 returned.
   
   ### SeaTunnel Version
   
   latest dev branch 
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     FakeSource {
       result_table_name = "fake1"
       row.num = 16
       schema = {
         fields {
           name = "string"
           age = "int"
           created_time = "timestamp"
           destroyed_time = "timestamp"
         }
       }
     }
   }
   
   transform {
   
   
       SQL {
       source_table_name = "fake1"
       result_table_name = "fake2"
       query = "SELECT name, age, created_time, destroyed_time, CURRENT_DATE() today, DATEDIFF(created_time, destroyed_time, 'SECOND') duration FROM fake1 "
     }
   
     SQL {
       source_table_name = "fake2"
       result_table_name = "fake3"
       query = "SELECT name, age, today, duration FROM fake2 "
     }
   }
   
   sink {
     Console {
       source_table_name = "fake3"
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   bin/seatunnel.sh -c config/demo.conf
   ```
   
   
   ### Error Exception
   
   ```log
   no exception
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   Zeta
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   ![api call](https://github.com/apache/seatunnel/assets/12607748/ebcb2be0-46a6-4c5d-8697-4c5c75faaf4d)
   
   
   ### 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] [REST-API] Cannot get finished job status with new api `/hazelcast/rest/maps/finished-jobs/:state` [seatunnel]

Posted by "hailin0 (via GitHub)" <gi...@apache.org>.
hailin0 closed issue #6037: [Bug] [REST-API] Cannot get finished job status with new api `/hazelcast/rest/maps/finished-jobs/:state`
URL: https://github.com/apache/seatunnel/issues/6037


-- 
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] [REST-API] Cannot get finished job status with new api `/hazelcast/rest/maps/finished-jobs/:state` [seatunnel]

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

   @liugddx 


-- 
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