alibaba / druid

阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品,为监控而生的数据库连接池
https://github.com/alibaba/druid/wiki
Apache License 2.0
27.99k stars 8.59k forks source link

druid 是否支持 hbase -phoenix #3319

Open FangHongDa opened 5 years ago

FangHongDa commented 5 years ago

phoenix-core:5.0.0-HBase-2.0

druid:1.1.9

image Caused by: java.lang.IllegalStateException: dbType not support : phoenix, url jdbc:phoenix:10.211.55.10:2181 at com.alibaba.druid.wall.WallFilter.init(WallFilter.java:159) at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:760) at com.jinshi.datasource.config.DynamicDataSourceFactory.buildDruidDataSource(DynamicDataSourceFactory.java:47) at com.jinshi.datasource.config.DynamicDataSourceConfig.lambda$getDynamicDataSource$0(DynamicDataSourceConfig.java:52) at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) at com.jinshi.datasource.config.DynamicDataSourceConfig.getDynamicDataSource(DynamicDataSourceConfig.java:51) at com.jinshi.datasource.config.DynamicDataSourceConfig.dynamicDataSource(DynamicDataSourceConfig.java:39) at com.jinshi.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$d2c91c06.CGLIB$dynamicDataSource$1() at com.jinshi.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$d2c91c06$$FastClassBySpringCGLIB$$2d1bf02e.invoke() at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363) at com.jinshi.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$d2c91c06.dynamicDataSource() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ... 136 common frames omitted

1336721059 commented 3 years ago

兄弟 搞定了吗