You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "PelicanMan126 (via GitHub)" <gi...@apache.org> on 2023/08/02 09:29:19 UTC

[GitHub] [linkis] PelicanMan126 opened a new issue, #4844: [Question] How to make yarn excute job using OneTimeApplication? (need to use linkis httpRestFulAPI)

PelicanMan126 opened a new issue, #4844:
URL: https://github.com/apache/linkis/issues/4844

   ### Before asking
   
   - [X] I have read the [How to ask for help](https://linkis.apache.org/community/how-to-ask-for-help) (我已阅读[如何寻求帮助](https://linkis.apache.org/zh-CN/community/how-to-ask-for-help)指引文档).
   
   
   ### Your environment
   
   <!-- Please describe the linkis version you are using and basic environment information -->
   <!-- 请描述您使用的linkis版本和基本环境信息 -->
   - Linkis version used: 1.3.0
   - Environment name and version:
       - hdp-2.7.7
       - yarn-2.7.7
   
   
   ### Describe your questions
   
   <!-- Please describe your questions -->
   <!-- 请描述您的问题 -->
   Q1.  my project is require using httpRestFul to make linkis to excute job, but now, when yarn application finished excute job, it keep alive 30m, i know that yarn is support one time application, but i don't know how to make linkis to do that.
   i'm using "/api/rest_j/v1/entrance/submit" this API and i don't know what should i put in the param
   我的项目使用linkis的restfulAPI来使linkis执行任务,当linkis调用yarn完成任务后,yarn的application会保持30分钟才会下线(是否默认使用了交互式链接),我了解到yarn支持一次性链接,请问如何调用linkis的API才能够使它变为一次性实例?我使用的是"/api/rest_j/v1/entrance/submit"这个接口,我知道他可以填写param来改变类似Container数量或内存数量等配置,请问能否修改使用的application类型?
   
   ### Eureka service list
   
   _No response_
   
   ### Some logs info or acctch file
   
   no log


-- 
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: notifications-unsubscribe@linkis.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] github-actions[bot] commented on issue #4844: [Question] How to make yarn excute job using OneTimeApplication? (need to use linkis httpRestFulAPI)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4844:
URL: https://github.com/apache/linkis/issues/4844#issuecomment-1661863918

   ## :blush:  Welcome to the Apache Linkis community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
   
   
   ### Community
   
   |WeChat Assistant|WeChat Public Account|
   |-|-|
   |<img src="https://linkis.apache.org/Images/wedatasphere_contact_01.png" width="128"/>|<img src="https://linkis.apache.org/Images/gzh_01.png" width="128"/>|
   
   
   ### Mailing Lists
   |Name|Description|Subscribe|Unsubscribe|Archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
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: notifications-unsubscribe@linkis.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] peacewong closed issue #4844: [Question] How to make yarn excute job using OneTimeApplication? (need to use linkis httpRestFulAPI)

Posted by "peacewong (via GitHub)" <gi...@apache.org>.
peacewong closed issue #4844: [Question] How to make yarn excute job using OneTimeApplication? (need to use linkis httpRestFulAPI)
URL: https://github.com/apache/linkis/issues/4844


-- 
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: notifications-unsubscribe@linkis.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] peacewong commented on issue #4844: [Question] How to make yarn excute job using OneTimeApplication? (need to use linkis httpRestFulAPI)

Posted by "peacewong (via GitHub)" <gi...@apache.org>.
peacewong commented on issue #4844:
URL: https://github.com/apache/linkis/issues/4844#issuecomment-1678382040

   By default, it will be idle for 30 minutes to exit, and the parameter support configuration is: wds.linkis.engineconn.max.free.time=3m
   You can also add a tag to execute once, and it will automatically exit after the task is executed: "executeOnce": ""
   
   默认会30分钟空闲退出,参数支持配置为:wds.linkis.engineconn.max.free.time=3m
   你也可以增加执行一次标签,任务执行完就会自动退出:"executeOnce":""


-- 
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: notifications-unsubscribe@linkis.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org