You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "yanborer (via GitHub)" <gi...@apache.org> on 2025/06/26 06:40:59 UTC

[I] [Bug] [StarRocks] Add starrocks data source, IP host name input multiple IPs, cannot be edited after saving [dolphinscheduler]

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

   ### 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
   
   Add starrocks data source, IP host name input multiple IPs, cannot be edited after saving。
   
   ### What you expected to happen
   
    StarRocksDataSourceProcessor#createDatasourceParamDTO method,Line 77:
   ****
   String address = connectionParams.getAddress();
   String[] hostSeperator = address.split(Constants.DOUBLE_SLASH);
   String[] hostPortArray = hostSeperator[hostSeperator.length - 1].split(Constants.COMMA);
   starRocksDataSourceParamDTO.setPort(Integer.parseInt(hostPortArray[0].split(Constants.COLON)[1]));
   starRocksDataSourceParamDTO.setHost(hostPortArray[0].split(Constants.COLON)[0]);
   ****
   My address like this:jdbc:mysql://192.168.10.1,192.168.10.2,192.168.10.3:9030
   hostPortArray is:["192.168.10.1","192.168.10.2","192.168.10.1:9030"]
   
   ******
   This exception is as follows:
   [ERROR] 2025-06-26 11:59:26.204 +0800 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[52] - 查询数据源错误
   java.lang.ArrayIndexOutOfBoundsException: 1
   	at org.apache.dolphinscheduler.plugin.datasource.starrocks.param.StarRocksDataSourceProcessor.createDatasourceParamDTO(StarRocksDataSourceProcessor.java:77)
   	at org.apache.dolphinscheduler.plugin.datasource.api.utils.DataSourceUtils.buildDatasourceParamDTO(DataSourceUtils.java:82)
   	at org.apache.dolphinscheduler.api.service.impl.DataSourceServiceImpl.queryDataSource(DataSourceServiceImpl.java:240)
   	at org.apache.dolphinscheduler.api.service.impl.DataSourceServiceImpl$$FastClassBySpringCGLIB$$a86d54aa.invoke(<generated>)
   	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
   	at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
   	at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
   	at .......................
   
   ### How to reproduce
   
   add starrocks datasource,input multiple IPs,save,edit
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [x] 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: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [StarRocks] Add starrocks data source, IP host name input multiple IPs, cannot be edited after saving [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17287:
URL: https://github.com/apache/dolphinscheduler/issues/17287#issuecomment-3124846413

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [StarRocks] Add starrocks data source, IP host name input multiple IPs, cannot be edited after saving [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17287:
URL: https://github.com/apache/dolphinscheduler/issues/17287#issuecomment-3148821297

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [StarRocks] Add starrocks data source, IP host name input multiple IPs, cannot be edited after saving [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17287:
URL: https://github.com/apache/dolphinscheduler/issues/17287#issuecomment-3007332587

   ### 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
   
   Add starrocks data source, IP host name input multiple IPs, cannot be edited after saving。
   
   ### What you expected to happen
   
    StarRocksDataSourceProcessor#createDatasourceParamDTO method,Line 77:
   ****
   String address = connectionParams.getAddress();
   String[] hostSeperator = address.split(Constants.DOUBLE_SLASH);
   String[] hostPortArray = hostSeperator[hostSeperator.length - 1].split(Constants.COMMA);
   starRocksDataSourceParamDTO.setPort(Integer.parseInt(hostPortArray[0].split(Constants.COLON)[1]));
   starRocksDataSourceParamDTO.setHost(hostPortArray[0].split(Constants.COLON)[0]);
   ****
   My address like this:jdbc:mysql://192.168.10.1,192.168.10.2,192.168.10.3:9030
   hostPortArray is:["192.168.10.1","192.168.10.2","192.168.10.1:9030"]
   
   ******
   This exception is as follows:
   [ERROR] 2025-06-26 11:59:26.204 +0800 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[52] - 查询数据源错误
   java.lang.ArrayIndexOutOfBoundsException: 1
   	at org.apache.dolphinscheduler.plugin.datasource.starrocks.param.StarRocksDataSourceProcessor.createDatasourceParamDTO(StarRocksDataSourceProcessor.java:77)
   	at org.apache.dolphinscheduler.plugin.datasource.api.utils.DataSourceUtils.buildDatasourceParamDTO(DataSourceUtils.java:82)
   	at org.apache.dolphinscheduler.api.service.impl.DataSourceServiceImpl.queryDataSource(DataSourceServiceImpl.java:240)
   	at org.apache.dolphinscheduler.api.service.impl.DataSourceServiceImpl$$FastClassBySpringCGLIB$$a86d54aa.invoke(<generated>)
   	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
   	at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
   	at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
   	at .......................
   
   ### How to reproduce
   
   add starrocks datasource,input multiple IPs,save,edit
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [x] 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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [StarRocks] Add starrocks data source, IP host name input multiple IPs, cannot be edited after saving [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #17287: [Bug] [StarRocks] Add starrocks data source, IP host name input multiple IPs, cannot be edited after saving
URL: https://github.com/apache/dolphinscheduler/issues/17287


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org