woshiyidiantong opened a new issue, #13625:
URL: https://github.com/apache/dolphinscheduler/issues/13625

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   i can not run a simple shell task on dolphinscheduler  after 3.1.0
   
   i had know that the  java Class 
"dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java"
   
   generated the shell command  just like that "sudo systemd-run -q --scope -p 
CPUQuota=100% -p MemoryMax=200M --uid=root"
   
   the argument name "MemoryMax" is illegaled
   
   the error is like that:
   [root@test ~]# sudo systemd-run -q --scope -p CPUQuota=100% -p 
MemoryMax=200M --uid=root ls -l /
   Unknown assignment MemoryMax=200M.
   Failed to create bus message: No such device or address
   
   
   ### What you expected to happen
   
   fix the bug
   
   ### How to reproduce
   
   Repair the code
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.1.x
   
   ### 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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to