Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] linkis-application-manager's RMUtils class has a logic bug #4974

Open
1 of 2 tasks
maofengHan opened this issue Nov 20, 2023 · 2 comments
Open
1 of 2 tasks

[Bug] linkis-application-manager's RMUtils class has a logic bug #4974

maofengHan opened this issue Nov 20, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@maofengHan
Copy link

Search before asking

  • I searched the issues and found no similar issues.

Linkis Component

linkis-computation-governance

Steps to reproduce

1、开发一个linkis引擎资源监控接口
2、底层使用了linkis-application-manager模块的RMUtils类的toUserResourceVo方法获取资源信息
3、返回的资源信息中maxResource节点信息错误

Expected behavior

RMUtils.toUserResourceVo方法能够正确返回资源的最大值、使用量

Your environment

  • Linkis version used: release-1.4.0

Anything else

linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/java/org/apache/linkis/manager/rm/utils/RMUtils.java类的130行错误的将minResource 设置到了userResourceVo的maxResource 属性中

Resource minResource = userResource.getMinResource(); if (minResource != null) { userResourceVo.setMaxResource( ResourceUtils.parse( ResourceUtils.toJSONString(minResource), new TypeReference<HashMap<String, Object>>() {})); }

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@maofengHan maofengHan added the bug Something isn't working label Nov 20, 2023
Copy link

😊 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
👉 How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
[email protected] community activity information subscribe unsubscribe archive

@peacewong
Copy link
Contributor

Hello, can you submit PR to solve this bug? Can you add my WeChat: peaceAyton?

@apache apache deleted a comment Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants