You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/11/30 08:16:16 UTC

[GitHub] [incubator-dolphinscheduler] chengpeng2015 opened a new issue #4126: [Bug][common] get system group information error

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:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] CalvinKirs closed issue #4126: [Bug][common] get system group information error

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #4126:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4126


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] CalvinKirs commented on issue #4126: [Bug][common] get system group information error

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #4126:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4126#issuecomment-736997213


   Worker server cannot be deployed on windows


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] zhuangchong commented on issue #4126: [Bug][common] get system group information error

Posted by GitBox <gi...@apache.org>.
zhuangchong commented on issue #4126:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4126#issuecomment-736985514


   From the error message, the task is running on a Windows machine, the tenant does not exist, and a new tenant needs to be created.
   1. Dolphin currently does not support Windows
   2. Workers will not be allowed to create new tenants later   #4069
   
   ---
   从错误信息上看,是在windows机器上跑任务,租户不存在,需要创建新的租户。
   1.dolphin目前不支持windows
   2.后期将不允许worker创建新的租户  


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] chengpeng2015 commented on issue #4126: [Bug][common] get system group information error

Posted by GitBox <gi...@apache.org>.
chengpeng2015 commented on issue #4126:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4126#issuecomment-735662005


   runing task!   There is no special operation


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xingchun-chen commented on issue #4126: [Bug][common] get system group information error

Posted by GitBox <gi...@apache.org>.
xingchun-chen commented on issue #4126:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4126#issuecomment-735654656


   Can you describe how this problem occurred
   
   


----------------------------------------------------------------
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:
users@infra.apache.org