You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/08/17 12:42:52 UTC

[GitHub] [incubator-linkis] cydenghua opened a new issue, #2854: [Bug] getYarnResource 错误

cydenghua opened a new issue, #2854:
URL: https://github.com/apache/incubator-linkis/issues/2854

   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-computation-governance
   
   ### Steps to reproduce
   
   1.发起多个任务,启动多个引擎实例;
   2.查看系统资源情况,发现使用率超过100%;
   3.并且在还有资源的情况下不能发起新任务,提示资源不足;
   
   
   ### Expected behavior
   
   可以发起新的任务;
   查询代码发现
   问题单元:linkis-computation-governance\linkis-manager\linkis-resource-manager\src\main\scala\org\apache\linkis\resourcemanager\external\yarn\YarnResourceRequester.scala
   问题函数:
    def maxEffectiveHandle(queueValue: Option[JValue]): Option[YarnResource]
   代码行数87:
           val effectiveResource = absoluteCapacity - absoluteUsedCapacity
   这里是要取队列的最大资源, 那么久不需要减absoluteUsedCapacity
   
   
   
   ### Your environment
   
   
   - Linkis version used: 1.1.1
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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] [incubator-linkis] github-actions[bot] commented on issue #2854: [Bug] getYarnResource 错误

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2854:
URL: https://github.com/apache/incubator-linkis/issues/2854#issuecomment-1217959580

   :blush:  Welcome to the Apache Linkis (incubating) 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).
    
   WeChat  Group:
   
   ![image](https://linkis.apache.org/Images/wedatasphere_contact_01.png)
   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] [incubator-linkis] casionone closed issue #2854: [Bug] getYarnResource 错误

Posted by GitBox <gi...@apache.org>.
casionone closed issue #2854: [Bug] getYarnResource 错误
URL: https://github.com/apache/incubator-linkis/issues/2854


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