<?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 Any there any additional configurations required after setting &amp;quot;org.apache.storm.hdfs.ha.codedistributor.HDFSCodeDistributor&amp;quot;? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-there-any-additional-configurations-required-after/m-p/94557#M7870</link>
    <description>&lt;P&gt;A customer has a Multi-Nimbus setup.  According to the Nimbus HA documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/storm/blob/nimbus-ha-branch/docs/documentation/nimbus-ha-design.md#configuration" target="_blank"&gt;https://github.com/apache/storm/blob/nimbus-ha-branch/docs/documentation/nimbus-ha-design.md#configuration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;...one option for the storm.codedistributor.class is to use "org.apache.storm.hdfs.ha.codedistributor.HDFSCodeDistributor".&lt;/P&gt;&lt;P&gt;If this is used, are there any additional configuration settings that need to be put in place for this to be effective? &lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2015 05:00:52 GMT</pubDate>
    <dc:creator>kbaxley</dc:creator>
    <dc:date>2015-09-30T05:00:52Z</dc:date>
    <item>
      <title>Any there any additional configurations required after setting "org.apache.storm.hdfs.ha.codedistributor.HDFSCodeDistributor"?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-there-any-additional-configurations-required-after/m-p/94557#M7870</link>
      <description>&lt;P&gt;A customer has a Multi-Nimbus setup.  According to the Nimbus HA documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/storm/blob/nimbus-ha-branch/docs/documentation/nimbus-ha-design.md#configuration" target="_blank"&gt;https://github.com/apache/storm/blob/nimbus-ha-branch/docs/documentation/nimbus-ha-design.md#configuration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;...one option for the storm.codedistributor.class is to use "org.apache.storm.hdfs.ha.codedistributor.HDFSCodeDistributor".&lt;/P&gt;&lt;P&gt;If this is used, are there any additional configuration settings that need to be put in place for this to be effective? &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 05:00:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-there-any-additional-configurations-required-after/m-p/94557#M7870</guid>
      <dc:creator>kbaxley</dc:creator>
      <dc:date>2015-09-30T05:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Any there any additional configurations required after setting "org.apache.storm.hdfs.ha.codedistributor.HDFSCodeDistributor"?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-there-any-additional-configurations-required-after/m-p/94558#M7871</link>
      <description>&lt;P&gt;You must specify "hdfs.storm.dir" in the topology config which should map to a hdfs directory where these files are stored. In addition hdfs-site.xml and core-site.xml must be part of nimbus's classpath. By default the hdfs jars are not shipped with storm so the user will have to set this up on all nimbus hosts and add these jars in nimbus's classpath using nimbus.childopts.&lt;/P&gt;&lt;P&gt;In general it is better for now to use the default code distributor as HDFSCodeDistributor is written as an example and it is a class that will probably still evolve in near future.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 05:11:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-there-any-additional-configurations-required-after/m-p/94558#M7871</guid>
      <dc:creator>pbrahmbhatt</dc:creator>
      <dc:date>2015-09-30T05:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Any there any additional configurations required after setting "org.apache.storm.hdfs.ha.codedistributor.HDFSCodeDistributor"?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-there-any-additional-configurations-required-after/m-p/94559#M7872</link>
      <description>&lt;P&gt;I don't understand to config HA-mode when i use hdfsbolt. You can give me some inform to load hdfs-site.xml or core-site.xml or other way to understand HA mode.&lt;/P&gt;&lt;P&gt;        HdfsBolt bolt = new HdfsBolt()
.withFsUrl("hdfs://ha-cluster")
.withFileNameFormat(fileNameFormat) &lt;/P&gt;&lt;P&gt;                            .withRecordFormat(format)

                            .withRotationPolicy(rotationPolicy)

                            .withSyncPolicy(syncPolicy);&lt;/P&gt;&lt;P&gt;When i use .withFsUrl("hdfs://pn2:9000") my topology understand but i used .withFsUrl("hdfs://ha-cluster") is not work. &lt;/P&gt;&lt;PRE&gt;java.lang.RuntimeException: Error preparing HdfsBolt: java.net.UnknownHostException: ha-cluster
	at org.apache.storm.hdfs.bolt.AbstractHdfsBolt.prepare(AbstractHdfsBolt.java:109) ~[stormjar.jar:na]
	at backtype.storm.daemon.executor$fn__3439$fn__3451.invoke(executor.clj:699) ~[storm-core-0.9.6.jar:0.9.6]
	at backtype.storm.util$async_loop$fn__460.invoke(util.clj:461) ~[storm-core-0.9.6.jar:0.9.6]
	at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: ha-cluster
	at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:378) ~[stormjar.jar:na]
	at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:310) ~[stormjar.jar:na]
	at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:176) ~[stormjar.jar:na]
	at org.apache.hadoop.hdfs.DFSClient.&amp;lt;init&amp;gt;(DFSClient.java:678) ~[stormjar.jar:na]
	at org.apache.hadoop.hdfs.DFSClient.&amp;lt;init&amp;gt;(DFSClient.java:619) ~[stormjar.jar:na]
	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:149) ~[stormjar.jar:na]
	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2653) ~[stormjar.jar:na]
	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92) ~[stormjar.jar:na]
	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687) ~[stormjar.jar:na]
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2669) ~[stormjar.jar:na]
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371) ~[stormjar.jar:na]
	at org.apache.storm.hdfs.bolt.HdfsBolt.doPrepare(HdfsBolt.java:86) ~[stormjar.jar:na]
	at org.apache.storm.hdfs.bolt.AbstractHdfsBolt.prepare(AbstractHdfsBolt.java:105) ~[stormjar.jar:na]
	... 4 common frames omitted&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Jul 2016 16:33:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-there-any-additional-configurations-required-after/m-p/94559#M7872</guid>
      <dc:creator>soh_dhdv</dc:creator>
      <dc:date>2016-07-06T16:33:21Z</dc:date>
    </item>
  </channel>
</rss>

