/** * Determines whether this feature is enabled. * * @param job * the Hadoop context for the configured job * @return true if the feature is enabled, false otherwise * @since 1.5.0 * @see #setSimulationMode(JobConf, boolean) */ protected static Boolean getSimulationMode(JobConf job) { return OutputConfigurator.getSimulationMode(CLASS, job); }
/** * Determines whether this feature is enabled. * * @param job * the Hadoop context for the configured job * @return true if the feature is enabled, false otherwise * @since 1.5.0 * @see #setSimulationMode(JobConf, boolean) */ protected static Boolean getSimulationMode(JobConf job) { return OutputConfigurator.getSimulationMode(CLASS, job); }
/** * Determines whether this feature is enabled. * * @param context * the Hadoop context for the configured job * @return true if the feature is enabled, false otherwise * @since 1.5.0 * @see #setSimulationMode(Job, boolean) */ protected static Boolean getSimulationMode(JobContext context) { return OutputConfigurator.getSimulationMode(CLASS, context.getConfiguration()); }
/** * Determines whether this feature is enabled. * * @param context * the Hadoop context for the configured job * @return true if the feature is enabled, false otherwise * @since 1.5.0 * @see #setSimulationMode(Job, boolean) */ protected static Boolean getSimulationMode(JobContext context) { return OutputConfigurator.getSimulationMode(CLASS, context.getConfiguration()); }
/** * Determines whether this feature is enabled. * * @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 * @return true if the feature is enabled, false otherwise * @deprecated since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat. * @since 1.5.0 * @see #setSimulationMode(Class, Configuration, boolean) */ @Deprecated public static Boolean getSimulationMode(Class<?> implementingClass, Configuration conf) { return org.apache.accumulo.core.client.mapreduce.lib.impl.OutputConfigurator .getSimulationMode(implementingClass, conf); }