<?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 Re: How to specify multiple fencing methods in dfs.ha.fencing.methods in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129705#M23011</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt; - It was a real hint for solving this issue&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2016 10:53:33 GMT</pubDate>
    <dc:creator>KuldeepK</dc:creator>
    <dc:date>2016-03-16T10:53:33Z</dc:date>
    <item>
      <title>How to specify multiple fencing methods in dfs.ha.fencing.methods</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129701#M23007</link>
      <description>&lt;P&gt;This is new question based on answers provided at &lt;A href="https://community.hortonworks.com/questions/23046/question-on-hdfs-automatic-failover.html" target="_blank"&gt;https://community.hortonworks.com/questions/23046/question-on-hdfs-automatic-failover.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Question - If I need to define multiple fencing methods in dfs.ha.fencing.methods (hdfs-site.xml), how should I do that? Is that even possible? I tried putting comma separated values, semi colon separated, colon separated but nothing worked(I got parsing error in ZKFC logs)&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 01:35:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129701#M23007</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-03-16T01:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify multiple fencing methods in dfs.ha.fencing.methods</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129702#M23008</link>
      <description>&lt;P&gt;More info - according to &lt;A href="https://www.packtpub.com/books/content/setting-namenode-ha"&gt;this&lt;/A&gt; link, value of dfs.ha.fencing.methods shows 2 fencing methods, each one is on new line. I believe we cannot enter it using ambari UI. Not sure if that link has valid and verified information.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 01:46:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129702#M23008</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-03-16T01:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify multiple fencing methods in dfs.ha.fencing.methods</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129703#M23009</link>
      <description>&lt;P&gt;&lt;A href="https://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html" target="_blank"&gt;https://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;According to above link, it seems it accepts carriage-return-separated list. &lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:30:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129703#M23009</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2016-03-16T10:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify multiple fencing methods in dfs.ha.fencing.methods</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129704#M23010</link>
      <description>&lt;P&gt;Nevermind! I have figured out the problem.&lt;/P&gt;&lt;P&gt;Many Thanks to &lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;@Sagar Shimpi&lt;/A&gt; for helping me here.&lt;/P&gt;&lt;P&gt;To add multiple fencing methods we need to run below command from Ambari Server&lt;/P&gt;&lt;PRE&gt;/var/lib/ambari-server/resources/scripts/configs.sh -u admin -p admin set &amp;lt;ambari-host&amp;gt; &amp;lt;cluster-name&amp;gt; hdfs-site dfs.ha.fencing.methods  "sshfence\\nshell(/bin/true)"&lt;/PRE&gt;&lt;P&gt;I think this is a bug with Ambari, I will make sure to file a Ambari BUG for this today.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:52:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129704#M23010</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-03-16T10:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify multiple fencing methods in dfs.ha.fencing.methods</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129705#M23011</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt; - It was a real hint for solving this issue&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:53:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-specify-multiple-fencing-methods-in-dfs-ha-fencing/m-p/129705#M23011</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-03-16T10:53:33Z</dc:date>
    </item>
  </channel>
</rss>

