/** * Gets the principal from the configuration. * * @param job * the Hadoop context for the configured job * @return the user name * @since 1.5.0 * @see #setConnectorInfo(JobConf, String, AuthenticationToken) */ protected static String getPrincipal(JobConf job) { return OutputConfigurator.getPrincipal(CLASS, job); }
/** * Gets the principal from the configuration. * * @param job * the Hadoop context for the configured job * @return the user name * @since 1.5.0 * @see #setConnectorInfo(JobConf, String, AuthenticationToken) */ protected static String getPrincipal(JobConf job) { return OutputConfigurator.getPrincipal(CLASS, job); }
/** * Gets the user name from the configuration. * * @param context * the Hadoop context for the configured job * @return the user name * @since 1.5.0 * @see #setConnectorInfo(Job, String, AuthenticationToken) */ protected static String getPrincipal(JobContext context) { return OutputConfigurator.getPrincipal(CLASS, context.getConfiguration()); }
/** * Gets the user name from the configuration. * * @param context * the Hadoop context for the configured job * @return the user name * @since 1.5.0 * @see #setConnectorInfo(Job, String, AuthenticationToken) */ protected static String getPrincipal(JobContext context) { return OutputConfigurator.getPrincipal(CLASS, context.getConfiguration()); }