/** * Initializes an Accumulo {@link Instance} based on the configuration. * * @param job * the Hadoop context for the configured job * @return an Accumulo instance * @since 1.5.0 * @see #setZooKeeperInstance(JobConf, ClientConfiguration) */ protected static Instance getInstance(JobConf job) { return OutputConfigurator.getInstance(CLASS, job); }
/** * Initializes an Accumulo {@link Instance} based on the configuration. * * @param context * the Hadoop context for the configured job * @return an Accumulo instance * @since 1.5.0 * @see #setZooKeeperInstance(Job, ClientConfiguration) */ protected static Instance getInstance(JobContext context) { return OutputConfigurator.getInstance(CLASS, context.getConfiguration()); }
/** * Initializes an Accumulo {@link org.apache.accumulo.core.client.Instance} based on the * configuration. * * @param job * the Hadoop context for the configured job * @return an Accumulo instance * @since 1.5.0 * @deprecated since 2.0.0; Use {@link #getClientInfo(JobConf)} instead */ @Deprecated protected static org.apache.accumulo.core.client.Instance getInstance(JobConf job) { return OutputConfigurator.getInstance(CLASS, job); }
/** * Initializes an Accumulo {@link org.apache.accumulo.core.client.Instance} based on the * configuration. * * @param context * the Hadoop context for the configured job * @return an Accumulo instance * @since 1.5.0 * @deprecated since 2.0.0; Use {@link #getClientInfo(JobContext)} instead. */ @Deprecated protected static org.apache.accumulo.core.client.Instance getInstance(JobContext context) { return OutputConfigurator.getInstance(CLASS, context.getConfiguration()); }