/** * Sets the configuration for for the job's {@link BatchWriter} instances. If not set, a new * {@link BatchWriterConfig}, with sensible built-in defaults is used. Setting the configuration * multiple times overwrites any previous configuration. * * @param job * the Hadoop job instance to be configured * @param bwConfig * the configuration for the {@link BatchWriter} * @since 1.5.0 */ public static void setBatchWriterOptions(JobConf job, BatchWriterConfig bwConfig) { OutputConfigurator.setBatchWriterOptions(CLASS, job, bwConfig); }
/** * Sets the configuration for for the job's {@link BatchWriter} instances. If not set, a new * {@link BatchWriterConfig}, with sensible built-in defaults is used. Setting the configuration * multiple times overwrites any previous configuration. * * @param job * the Hadoop job instance to be configured * @param bwConfig * the configuration for the {@link BatchWriter} * @since 1.5.0 */ public static void setBatchWriterOptions(JobConf job, BatchWriterConfig bwConfig) { OutputConfigurator.setBatchWriterOptions(CLASS, job, bwConfig); }
/** * Sets the configuration for for the job's {@link BatchWriter} instances. If not set, a new * {@link BatchWriterConfig}, with sensible built-in defaults is used. Setting the configuration * multiple times overwrites any previous configuration. * * @param job * the Hadoop job instance to be configured * @param bwConfig * the configuration for the {@link BatchWriter} * @since 1.5.0 */ public static void setBatchWriterOptions(Job job, BatchWriterConfig bwConfig) { OutputConfigurator.setBatchWriterOptions(CLASS, job.getConfiguration(), bwConfig); }
/** * Sets the configuration for for the job's {@link BatchWriter} instances. If not set, a new * {@link BatchWriterConfig}, with sensible built-in defaults is used. Setting the configuration * multiple times overwrites any previous configuration. * * @param job * the Hadoop job instance to be configured * @param bwConfig * the configuration for the {@link BatchWriter} * @since 1.5.0 */ public static void setBatchWriterOptions(Job job, BatchWriterConfig bwConfig) { OutputConfigurator.setBatchWriterOptions(CLASS, job.getConfiguration(), bwConfig); }
/** * Sets the configuration for for the job's {@link BatchWriter} instances. If not set, a new * {@link BatchWriterConfig}, with sensible built-in defaults is used. Setting the configuration * multiple times overwrites any previous configuration. * * @param implementingClass * the class whose name will be used as a prefix for the property configuration key * @param conf * the Hadoop configuration object to configure * @param bwConfig * the configuration for the {@link BatchWriter} * @deprecated since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat. * @since 1.5.0 */ @Deprecated public static void setBatchWriterOptions(Class<?> implementingClass, Configuration conf, BatchWriterConfig bwConfig) { org.apache.accumulo.core.client.mapreduce.lib.impl.OutputConfigurator .setBatchWriterOptions(implementingClass, conf, bwConfig); }