public class HdfsTextItemWriterFactory extends Object implements org.springframework.beans.factory.FactoryBean<HdfsTextItemWriter>, org.springframework.beans.factory.InitializingBean
HdfsTextItemWriter. This factory
will establish the strategies required for the writer. Specifically, the name and rollover strategy as well as
establish the temporary extension.| Modifier and Type | Field and Description |
|---|---|
static String |
NAMENODE_PRINCIPAL |
static String |
PROPERTIES_LOCATION |
static String |
REGISTER_URL_HANDLER |
static String |
RM_MANAGER_PRINCIPAL |
static String |
SECURITY_METHOD |
static String |
USER_KEYTAB |
static String |
USER_PRINCIPAL |
| Constructor and Description |
|---|
HdfsTextItemWriterFactory(org.apache.hadoop.conf.Configuration configuration,
JdbcHdfsTaskProperties props,
String partitionSuffix) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
HdfsTextItemWriter |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
public static final String RM_MANAGER_PRINCIPAL
public static final String NAMENODE_PRINCIPAL
public static final String USER_PRINCIPAL
public static final String USER_KEYTAB
public static final String SECURITY_METHOD
public static final String PROPERTIES_LOCATION
public static final String REGISTER_URL_HANDLER
public HdfsTextItemWriterFactory(org.apache.hadoop.conf.Configuration configuration,
JdbcHdfsTaskProperties props,
String partitionSuffix)
throws Exception
Exceptionpublic HdfsTextItemWriter getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<HdfsTextItemWriter>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<HdfsTextItemWriter>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<HdfsTextItemWriter>Copyright © 2017 Pivotal Software, Inc.. All rights reserved.