public class BoneCPDataSourceProvider extends Object implements DataSourceProvider
Constructor and Description |
---|
BoneCPDataSourceProvider() |
Modifier and Type | Method and Description |
---|---|
DataSource |
create(org.apache.hadoop.conf.Configuration hdpConfig) |
boolean |
mayReturnClosedConnection()
BoneCp has a bug which causes closed connections to be returned to the pool
under certain conditions.
|
boolean |
supports(org.apache.hadoop.conf.Configuration configuration) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetastoreJdbcDriverUrl, getMetastoreJdbcPasswd, getMetastoreJdbcUser, getPrefixedProperties
public static final String BONECP
public DataSource create(org.apache.hadoop.conf.Configuration hdpConfig) throws SQLException
create
in interface DataSourceProvider
SQLException
public boolean mayReturnClosedConnection()
DataSourceProvider
mayReturnClosedConnection
in interface DataSourceProvider
public boolean supports(org.apache.hadoop.conf.Configuration configuration)
supports
in interface DataSourceProvider
configuration
- Hadoop configuration objectCopyright © 2022 The Apache Software Foundation. All rights reserved.