<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Config Yarn with cluster NameNode in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Config-Yarn-with-cluster-NameNode/m-p/65406#M75863</link>
    <description>&lt;P&gt;My system have&lt;/P&gt;
&lt;P&gt;2 NameNode as Cluster (nn1 active, nn2 standby)&lt;/P&gt;
&lt;P&gt;2 DataNode&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 Yarn Resource Manager service is on nn1&lt;/P&gt;
&lt;P&gt;2 Yarn Node Manager is on 2 DataNode&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before config cluster NameNode everything work well&lt;/P&gt;
&lt;P&gt;After config Namde Node as cluster , Yarn start ok but when submit script from Hue I have some error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;2018-03-15 15:46:49,203 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService: Failed to download resource { { hdfs://mycluster/user/oozie/share/lib/lib_20171215093741/pig/jsp-2.1-6.1.14.jar, 1513305464001, FILE, null },pending,[(container_1521103549281_0001_02_000001)],8742037577451777,DOWNLOADING}
java.lang.IllegalArgumentException: java.net.UnknownHostException: mycluster
	at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:406)
	at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:310)
	at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:176)
	at org.apache.hadoop.hdfs.DFSClient.&amp;lt;init&amp;gt;(DFSClient.java:728)
	at org.apache.hadoop.hdfs.DFSClient.&amp;lt;init&amp;gt;(DFSClient.java:671)
	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:155)
	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2815)
	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:98)
	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2852)
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2834)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:387)
	at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
	at org.apache.hadoop.yarn.util.FSDownload.copy(FSDownload.java:249)
	at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:356)
	at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:60)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.UnknownHostException: mycluster&lt;/PRE&gt;
&lt;P&gt;View log on both Yarn Node manager service I see above error .&lt;/P&gt;
&lt;P&gt;How Can I fix this&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 13:44:26 GMT</pubDate>
    <dc:creator>phaothu</dc:creator>
    <dc:date>2026-04-21T13:44:26Z</dc:date>
    <item>
      <title>Config Yarn with cluster NameNode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Config-Yarn-with-cluster-NameNode/m-p/65406#M75863</link>
      <description>&lt;P&gt;My system have&lt;/P&gt;
&lt;P&gt;2 NameNode as Cluster (nn1 active, nn2 standby)&lt;/P&gt;
&lt;P&gt;2 DataNode&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 Yarn Resource Manager service is on nn1&lt;/P&gt;
&lt;P&gt;2 Yarn Node Manager is on 2 DataNode&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before config cluster NameNode everything work well&lt;/P&gt;
&lt;P&gt;After config Namde Node as cluster , Yarn start ok but when submit script from Hue I have some error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;2018-03-15 15:46:49,203 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService: Failed to download resource { { hdfs://mycluster/user/oozie/share/lib/lib_20171215093741/pig/jsp-2.1-6.1.14.jar, 1513305464001, FILE, null },pending,[(container_1521103549281_0001_02_000001)],8742037577451777,DOWNLOADING}
java.lang.IllegalArgumentException: java.net.UnknownHostException: mycluster
	at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:406)
	at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:310)
	at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:176)
	at org.apache.hadoop.hdfs.DFSClient.&amp;lt;init&amp;gt;(DFSClient.java:728)
	at org.apache.hadoop.hdfs.DFSClient.&amp;lt;init&amp;gt;(DFSClient.java:671)
	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:155)
	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2815)
	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:98)
	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2852)
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2834)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:387)
	at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
	at org.apache.hadoop.yarn.util.FSDownload.copy(FSDownload.java:249)
	at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:356)
	at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:60)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.UnknownHostException: mycluster&lt;/PRE&gt;
&lt;P&gt;View log on both Yarn Node manager service I see above error .&lt;/P&gt;
&lt;P&gt;How Can I fix this&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:44:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Config-Yarn-with-cluster-NameNode/m-p/65406#M75863</guid>
      <dc:creator>phaothu</dc:creator>
      <dc:date>2026-04-21T13:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Config Yarn with cluster NameNode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Config-Yarn-with-cluster-NameNode/m-p/65424#M75864</link>
      <description>&lt;P&gt;Have a look at your HDFS configuration and the name you are using for Name Node service. Confirm that you are using correct name for Name Node service. You can look at your hdfs-site.xml file on your &amp;nbsp;deployed Hue server to confirm.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 17:32:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Config-Yarn-with-cluster-NameNode/m-p/65424#M75864</guid>
      <dc:creator>RobertM</dc:creator>
      <dc:date>2018-03-15T17:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Config Yarn with cluster NameNode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Config-Yarn-with-cluster-NameNode/m-p/65436#M75865</link>
      <description>&lt;P&gt;After check again hdfs-site.xml on 2 DataNode where Yarn Node Manager stand on , I see that the hdfs-site file missing this line when compare with the hdfs-site on Name Node&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;dfs.client.failover.proxy.provider.radcluster&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;restart the Yarn Node Manager Service , It work now , Thanks you&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 03:10:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Config-Yarn-with-cluster-NameNode/m-p/65436#M75865</guid>
      <dc:creator>phaothu</dc:creator>
      <dc:date>2018-03-16T03:10:24Z</dc:date>
    </item>
  </channel>
</rss>

