create time: 2024-10-13 19:50:43 java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor2595.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at smartbixlibs.org.apache.commons.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:170) at smartbixlibs.org.apache.commons.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:131) at smartbixlibs.org.apache.commons.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:95) at smartbix.dataprocess.node.save2db.SmartbiCacheConfigService.initDataSource(SmartbiCacheConfigService.java:364) at smartbix.dataprocess.node.save2db.SmartbiCacheConfigService.getExtractDataSource(SmartbiCacheConfigService.java:184) at smartbix.augmenteddataset.repository.service.AugmentedCacheConfigService.getDataSource(AugmentedCacheConfigService.java:104) at smartbix.augmenteddataset.repository.service.AugmentedCacheConfigService.getExtractDataSource(AugmentedCacheConfigService.java:71) at smartbix.augmenteddataset.extract.SingleThreadedExtractor$1.call(SingleThreadedExtractor.java:291) at smartbix.augmenteddataset.extract.SingleThreadedExtractor$1.call(SingleThreadedExtractor.java:271) at smartbix.augmenteddataset.extract.ExtractTaskWrapper.call(ExtractTaskWrapper.java:44) at smartbi.executor.NamedCallable.call(NamedCallable.java:14) at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:47) at smartbix.util.RequestCxtExtension.doExtend(RequestCxtExtension.java:106) at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:45) at smartbi.executor.extension.MonitorExtension.doExtend(MonitorExtension.java:48) at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:45) at smartbi.executor.SmartbiExecutorService.lambda$submit$2(SmartbiExecutorService.java:88) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: 获取数据库连接失败:获取数据库连接失败:The connection attempt failed.,datasourceId=DS.SmartbiCache at smartbi.connectionpool.ConnectionPool.lambda$doGetConnection$0(ConnectionPool.java:861) at ...(...) at smartbi.connectionpool.SmartbiPoolableConnection.doGetConnection(SmartbiPoolableConnection.java:89) Caused by: java.sql.SQLException: 获取数据库连接失败:The connection attempt failed. at smartbi.connectionpool.SmartbiPoolableConnection.doGetConnection(SmartbiPoolableConnection.java:89) at smartbi.connectionpool.ConnectionPool.lambda$doGetConnection$0(ConnectionPool.java:857) at smartbi.monitor.MetricHelper$.withSpan(MetricHelper.scala:136) at smartbi.monitor.MetricHelper.withSpan(MetricHelper.scala) at smartbi.connectionpool.ConnectionPool.doGetConnection(ConnectionPool.java:820) at smartbi.connectionpool.ConnectionPool.driverConnect(ConnectionPool.java:638) at smartbi.connectionpool.ConnectionPool.getConnection(ConnectionPool.java:966) at smartbi.connectionpool.ConnectionPool.getConnection(ConnectionPool.java:919) at smartbi.freequery.basicdata.DataSourceHandleHelper.getSchemas(DataSourceHandleHelper.java:313) at smartbi.freequery.basicdata.MetaDataServiceImpl.getSchemas(MetaDataServiceImpl.java:588) at smartbi.freequery.basicdata.MetaDataServiceImpl.getSchemas(MetaDataServiceImpl.java:582) at sun.reflect.GeneratedMethodAccessor2595.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at smartbixlibs.org.apache.commons.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:170) at smartbixlibs.org.apache.commons.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:131) at smartbixlibs.org.apache.commons.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:95) at smartbix.dataprocess.node.save2db.SmartbiCacheConfigService.initDataSource(SmartbiCacheConfigService.java:364) at smartbix.dataprocess.node.save2db.SmartbiCacheConfigService.getExtractDataSource(SmartbiCacheConfigService.java:184) at smartbix.augmenteddataset.repository.service.AugmentedCacheConfigService.getDataSource(AugmentedCacheConfigService.java:104) at smartbix.augmenteddataset.repository.service.AugmentedCacheConfigService.getExtractDataSource(AugmentedCacheConfigService.java:71) at smartbix.augmenteddataset.extract.SingleThreadedExtractor$1.call(SingleThreadedExtractor.java:291) at smartbix.augmenteddataset.extract.SingleThreadedExtractor$1.call(SingleThreadedExtractor.java:271) at smartbix.augmenteddataset.extract.ExtractTaskWrapper.call(ExtractTaskWrapper.java:44) at smartbi.executor.NamedCallable.call(NamedCallable.java:14) at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:47) at smartbix.util.RequestCxtExtension.doExtend(RequestCxtExtension.java:106) at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:45) at smartbi.executor.extension.MonitorExtension.doExtend(MonitorExtension.java:48) at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:45) at smartbi.executor.SmartbiExecutorService.lambda$submit$2(SmartbiExecutorService.java:88) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: 获取数据库连接失败:The connection attempt failed. at smartbi.connectionpool.SmartbiDriverConnectionFactory.createConnectionInner(SmartbiDriverConnectionFactory.java:68) at ...(...) at smartbi.connectionpool.SmartbiDriverConnectionFactory.createConnectionInner(SmartbiDriverConnectionFactory.java:62) Caused by: com.huawei.gauss200.jdbc.util.PSQLException: The connection attempt failed. at com.huawei.gauss200.jdbc.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:301) at com.huawei.gauss200.jdbc.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) at com.huawei.gauss200.jdbc.jdbc.PgConnection.(PgConnection.java:229) at com.huawei.gauss200.jdbc.Driver.makeConnection(Driver.java:496) at com.huawei.gauss200.jdbc.Driver.connect(Driver.java:298) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at smartbi.connectionpool.SmartbiDriverConnectionFactory.createConnectionInner(SmartbiDriverConnectionFactory.java:62) at smartbi.connectionpool.SmartbiDriverConnectionFactory.createConnection(SmartbiDriverConnectionFactory.java:114) at smartbi.connectionpool.SmartbiPoolableConnectionFactory.makeObjectInternal(SmartbiPoolableConnectionFactory.java:224) at smartbi.connectionpool.SmartbiPoolableConnection.doGetConnection(SmartbiPoolableConnection.java:79) at smartbi.connectionpool.ConnectionPool.lambda$doGetConnection$0(ConnectionPool.java:857) at smartbi.monitor.MetricHelper$.withSpan(MetricHelper.scala:136) at smartbi.monitor.MetricHelper.withSpan(MetricHelper.scala) at smartbi.connectionpool.ConnectionPool.doGetConnection(ConnectionPool.java:820) at smartbi.connectionpool.ConnectionPool.driverConnect(ConnectionPool.java:638) at smartbi.connectionpool.ConnectionPool.getConnection(ConnectionPool.java:966) at smartbi.connectionpool.ConnectionPool.getConnection(ConnectionPool.java:919) at smartbi.freequery.basicdata.DataSourceHandleHelper.getSchemas(DataSourceHandleHelper.java:313) at smartbi.freequery.basicdata.MetaDataServiceImpl.getSchemas(MetaDataServiceImpl.java:588) at smartbi.freequery.basicdata.MetaDataServiceImpl.getSchemas(MetaDataServiceImpl.java:582) at sun.reflect.GeneratedMethodAccessor2595.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at smartbixlibs.org.apache.commons.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:170) at smartbixlibs.org.apache.commons.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:131) at smartbixlibs.org.apache.commons.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:95) at smartbix.dataprocess.node.save2db.SmartbiCacheConfigService.initDataSource(SmartbiCacheConfigService.java:364) at smartbix.dataprocess.node.save2db.SmartbiCacheConfigService.getExtractDataSource(SmartbiCacheConfigService.java:184) at smartbix.augmenteddataset.repository.service.AugmentedCacheConfigService.getDataSource(AugmentedCacheConfigService.java:104) at smartbix.augmenteddataset.repository.service.AugmentedCacheConfigService.getExtractDataSource(AugmentedCacheConfigService.java:71) at smartbix.augmenteddataset.extract.SingleThreadedExtractor$1.call(SingleThreadedExtractor.java:291) at smartbix.augmenteddataset.extract.SingleThreadedExtractor$1.call(SingleThreadedExtractor.java:271) at smartbix.augmenteddataset.extract.ExtractTaskWrapper.call(ExtractTaskWrapper.java:44) at smartbi.executor.NamedCallable.call(NamedCallable.java:14) at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:47) at smartbix.util.RequestCxtExtension.doExtend(RequestCxtExtension.java:106) at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:45) at smartbi.executor.extension.MonitorExtension.doExtend(MonitorExtension.java:48) at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:45) at smartbi.executor.SmartbiExecutorService.lambda$submit$2(SmartbiExecutorService.java:88) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.UnknownHostException: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at com.huawei.gauss200.jdbc.core.PGStream.(PGStream.java:72) at com.huawei.gauss200.jdbc.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:86) at com.huawei.gauss200.jdbc.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:203) ... 43 more |