[
https://issues.apache.org/jira/browse/HADOOP-11976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545267#comment-14545267
]
sunmeng commented on HADOOP-11976:
----------------------------------
hello,i submit job with oozie to between cluster have some problem,i see some
hadoop code,i think the hadoop2.5cdh5.3.2 can not submit job with oozie to
between cluster,who can help me?thank you very much!
protected static <T> T createRMProxy(final Configuration configuration,
final Class<T> protocol, RMProxy instance) throws IOException {
YarnConfiguration conf = (configuration instanceof YarnConfiguration)
? (YarnConfiguration) configuration
: new YarnConfiguration(configuration);
RetryPolicy retryPolicy = createRetryPolicy(conf);
if (HAUtil.isHAEnabled(conf)) {
RMFailoverProxyProvider<T> provider =
instance.createRMFailoverProxyProvider(conf, protocol);
return (T) RetryProxy.create(protocol, provider, retryPolicy);
} else {
InetSocketAddress rmAddress = instance.getRMAddress(conf, protocol);
LOG.info("Connecting to ResourceManager at " + rmAddress);
T proxy = RMProxy.<T>getProxy(conf, protocol, rmAddress);
return (T) RetryProxy.create(protocol, proxy, retryPolicy);
}
}
> submit job with oozie to between cluster
> ----------------------------------------
>
> Key: HADOOP-11976
> URL: https://issues.apache.org/jira/browse/HADOOP-11976
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: sunmeng
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)