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, waitgetMetastoreJdbcDriverUrl, getMetastoreJdbcPasswd, getMetastoreJdbcUser, getPrefixedPropertiespublic static final String BONECP
public DataSource create(org.apache.hadoop.conf.Configuration hdpConfig) throws SQLException
create in interface DataSourceProviderSQLExceptionpublic boolean mayReturnClosedConnection()
DataSourceProvidermayReturnClosedConnection in interface DataSourceProviderpublic boolean supports(org.apache.hadoop.conf.Configuration configuration)
supports in interface DataSourceProviderconfiguration - Hadoop configuration objectCopyright © 2019 The Apache Software Foundation. All Rights Reserved.