chengpeng2015 opened a new issue #4126:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4126
class: OSUtils
method: getGroup
line: String result = exeCmd(String.format("net user \"%s\"",
currentProcUserName));
runing result: ȫ�����Ա *None
����ɹ���ɡ�
Cause array out of bounds!!!
error info:
java.lang.ArrayIndexOutOfBoundsException: 22
at
org.apache.dolphinscheduler.common.utils.OSUtils.getGroup(OSUtils.java:367)
~[classes/:na]
at
org.apache.dolphinscheduler.common.utils.OSUtils.createUser(OSUtils.java:261)
~[classes/:na]
at
org.apache.dolphinscheduler.common.utils.FileUtils.createWorkDirAndUserIfAbsent(FileUtils.java:185)
~[classes/:na]
at
org.apache.dolphinscheduler.server.worker.processor.TaskExecuteProcessor.process(TaskExecuteProcessor.java:120)
~[classes/:na]
at
org.apache.dolphinscheduler.remote.handler.NettyServerHandler$1.run(NettyServerHandler.java:128)
~[classes/:na]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
~[na:1.8.0_151]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
~[na:1.8.0_151]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
~[na:1.8.0_151]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
~[na:1.8.0_151]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_151]
**PS: My computer is Chinese ,Does the result need to be encoded?**
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]