{"record":{"id":"c5fa07e5f5550ac0","repo":"apache/dolphinscheduler","slug":"ssh-pooleddatasourceclient-is-not-supported","errorCode":null,"errorMessage":"SSH PooledDataSourceClient is not supported","messagePattern":"SSH PooledDataSourceClient is not supported","errorType":"exception","errorClass":"UnsupportedOperationException","httpStatus":null,"severity":"error","filePath":"dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-ssh/src/main/java/org/apache/dolphinscheduler/plugin/datasource/ssh/SSHDataSourceChannel.java","lineNumber":35,"sourceCode":"\npackage org.apache.dolphinscheduler.plugin.datasource.ssh;\n\nimport org.apache.dolphinscheduler.spi.datasource.AdHocDataSourceClient;\nimport org.apache.dolphinscheduler.spi.datasource.BaseConnectionParam;\nimport org.apache.dolphinscheduler.spi.datasource.DataSourceChannel;\nimport org.apache.dolphinscheduler.spi.datasource.PooledDataSourceClient;\nimport org.apache.dolphinscheduler.spi.enums.DbType;\n\npublic class SSHDataSourceChannel implements DataSourceChannel {\n\n    @Override\n    public AdHocDataSourceClient createAdHocDataSourceClient(BaseConnectionParam baseConnectionParam, DbType dbType) {\n        throw new UnsupportedOperationException(\"SSH AdHocDataSourceClient is not supported\");\n    }\n\n    @Override\n    public PooledDataSourceClient createPooledDataSourceClient(BaseConnectionParam baseConnectionParam, DbType dbType) {\n        throw new UnsupportedOperationException(\"SSH PooledDataSourceClient is not supported\");\n    }\n}\n","sourceCodeStart":17,"sourceCodeEnd":38,"githubUrl":"https://github.com/apache/dolphinscheduler/blob/02eac45a1b6676e639fcbfb4be2243de5771b05d/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-ssh/src/main/java/org/apache/dolphinscheduler/plugin/datasource/ssh/SSHDataSourceChannel.java#L17-L38","documentation":"Hard unsupported-operation sentinel in SSHDataSourceChannel.createPooledDataSourceClient: the SSH datasource has no pooled JDBC client implementation, so requesting a pooled client for an SSH datasource always throws. It is a deliberate capability boundary, not a configuration failure.","triggerScenarios":"Thrown at dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-ssh/src/main/java/org/apache/dolphinscheduler/plugin/datasource/ssh/SSHDataSourceChannel.java:35 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Avoid connection-pool flows against SSH datasources; they are only for SSH task credentials","Choose a JDBC datasource type for pooled connections","Implement PooledDataSourceClient in SSHDataSourceChannel to lift the restriction"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"02eac45a1b6676e639fcbfb4be2243de5771b05d","analyzedAt":"2026-09-06T17:43:00.555Z","contentChangedAt":"2026-09-06T17:43:00.555Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}