You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "chaorongzhi (via GitHub)" <gi...@apache.org> on 2023/08/09 10:06:01 UTC

[GitHub] [seatunnel] chaorongzhi opened a new pull request, #5252: [Fix][Zeta] Fix the problem that the job submission fails if the jobId is null

chaorongzhi opened a new pull request, #5252:
URL: https://github.com/apache/seatunnel/pull/5252

   <!--
   
   Thank you for contributing to SeaTunnel! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [GITHUB issue](https://github.com/apache/seatunnel/issues).
   
     - Name the pull request in the form "[Feature] [component] Title of the pull request", where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
   
     - Minor fixes should be named following this pattern: `[hotfix] [docs] Fix typo in README.md doc`.
   
   -->
   
   ## Purpose of this pull request
   Fix the problem that jobId is null and job submission fails, and add documentation comments.
   <!-- Describe the purpose of this pull request. For example: This pull request adds checkstyle plugin.-->
   
   ## Check list
   
   * [ ] Code changed are covered with tests, or it does not need tests for reason:
   * [ ] If any new Jar binary package adding in your PR, please add License Notice according
     [New License Guide](https://github.com/apache/seatunnel/blob/dev/docs/en/contribution/new-license.md)
   * [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
   * [ ] If you are contributing the connector code, please check that the following files are updated:
     1. Update change log that in connector document. For more details you can refer to [connector-v2](https://github.com/apache/seatunnel/tree/dev/docs/en/connector-v2)
     2. Update [plugin-mapping.properties](https://github.com/apache/seatunnel/blob/dev/plugin-mapping.properties) and add new connector information in it
     3. Update the pom file of [seatunnel-dist](https://github.com/apache/seatunnel/blob/dev/seatunnel-dist/pom.xml)
   * [ ] Update the [`release-note`](https://github.com/apache/seatunnel/blob/dev/release-note.md).


-- 
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: [PR] [Hotfix][Zeta] Fix submit job throw jobId NPE [seatunnel]

Posted by "chaorongzhi (via GitHub)" <gi...@apache.org>.
chaorongzhi closed pull request #5252: [Hotfix][Zeta] Fix submit job throw jobId NPE
URL: https://github.com/apache/seatunnel/pull/5252


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


[GitHub] [seatunnel] Hisoka-X commented on pull request #5252: [Hotfix][Zeta] Fix submit job throw jobId NPE

Posted by "Hisoka-X (via GitHub)" <gi...@apache.org>.
Hisoka-X commented on PR #5252:
URL: https://github.com/apache/seatunnel/pull/5252#issuecomment-1694246585

   cc @zhibinF maybe you should take a look.


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


[GitHub] [seatunnel] liugddx commented on pull request #5252: [Hotfix][Zeta] Fix submit job throw jobId NPE

Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on PR #5252:
URL: https://github.com/apache/seatunnel/pull/5252#issuecomment-1671115902

   Can you add a unit test?


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


[GitHub] [seatunnel] chaorongzhi commented on pull request #5252: [Hotfix][Zeta] Fix submit job throw jobId NPE

Posted by "chaorongzhi (via GitHub)" <gi...@apache.org>.
chaorongzhi commented on PR #5252:
URL: https://github.com/apache/seatunnel/pull/5252#issuecomment-1676724558

   > Can you add a unit test?
   
   @liugddx PTAL, I have added unit test.


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


[GitHub] [seatunnel] Hisoka-X commented on a diff in pull request #5252: [Hotfix][Zeta] Fix submit job throw jobId NPE

Posted by "Hisoka-X (via GitHub)" <gi...@apache.org>.
Hisoka-X commented on code in PR #5252:
URL: https://github.com/apache/seatunnel/pull/5252#discussion_r1306391253


##########
docs/en/seatunnel-engine/rest-api.md:
##########
@@ -192,8 +192,10 @@ network:
 > | jobId                | optional | string    | job id                            |
 > | jobName              | optional | string    | job name                          |
 > | isStartWithSavePoint | optional | string    | if job is started with save point |
-
-#### Body
+>
+> If the parameter isStartWithSavePoint is true, the jobId is required. If the parameter isStartWithSavePoint is false, the jobId is not required and will be generated by seatunnel

Review Comment:
   ```suggestion
   > If the parameter isStartWithSavePoint is true, the jobId is required. If the parameter isStartWithSavePoint is false, the jobId is not required and will be generated by SeaTunnel
   ```



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


[GitHub] [seatunnel] chaorongzhi commented on pull request #5252: [Hotfix][Zeta] Fix submit job throw jobId NPE

Posted by "chaorongzhi (via GitHub)" <gi...@apache.org>.
chaorongzhi commented on PR #5252:
URL: https://github.com/apache/seatunnel/pull/5252#issuecomment-1672407768

   > Can you add a unit test?
   
   Sure, I'll add unit tests to the e2e module.


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


[GitHub] [seatunnel] chaorongzhi commented on pull request #5252: [Hotfix][Zeta] Fix submit job throw jobId NPE

Posted by "chaorongzhi (via GitHub)" <gi...@apache.org>.
chaorongzhi commented on PR #5252:
URL: https://github.com/apache/seatunnel/pull/5252#issuecomment-1672407547

   > Can you add a unit test?
   Sure, I'll add unit tests to the e2e module.
   


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