<?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 hi, I deleted ZKFailOverController service from ambari for one of the nameNode out of two. Please help me to bring the service back. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165612#M49620</link>
    <description />
    <pubDate>Wed, 21 Dec 2016 14:47:18 GMT</pubDate>
    <dc:creator>priyanshu770bin</dc:creator>
    <dc:date>2016-12-21T14:47:18Z</dc:date>
    <item>
      <title>hi, I deleted ZKFailOverController service from ambari for one of the nameNode out of two. Please help me to bring the service back.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165612#M49620</link>
      <description />
      <pubDate>Wed, 21 Dec 2016 14:47:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165612#M49620</guid>
      <dc:creator>priyanshu770bin</dc:creator>
      <dc:date>2016-12-21T14:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: hi, I deleted ZKFailOverController service from ambari for one of the nameNode out of two. Please help me to bring the service back.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165613#M49621</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/14572/priyanshu770bindal.html"&gt;priyanshu bindal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you try adding the ZKFC on that host using the ambari APIs?&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;curl --user admin:admin -i -X POST &lt;A href="http://erie1.example.com:8080/api/v1/clusters/ErieCluster/hosts/erie2.example.com/host_components/ZKFC" target="_blank"&gt;http://erie1.example.com:8080/api/v1/clusters/ErieCluster/hosts/erie2.example.com/host_components/ZKFC&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;- Here
&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;erie1.example.com&lt;/STRONG&gt; = Ambari Host Name
&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ErieCluster&lt;/STRONG&gt; = It is the cluster Name
&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;erie2.example.com&lt;/STRONG&gt; = It is the Host name in which we want to install the ZKFC&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;- You can find more details on how to add host component using Ambari APIs by referring to the following link:
&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Add+a+host+and+deploy+components+using+APIs" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Add+a+host+and+deploy+components+using+APIs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 14:53:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165613#M49621</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2016-12-21T14:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: hi, I deleted ZKFailOverController service from ambari for one of the nameNode out of two. Please help me to bring the service back.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165614#M49622</link>
      <description>&lt;P&gt;Thanks Jay:&lt;/P&gt;&lt;P&gt;Following command helped me&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -i -X POST &lt;A href="http://erie1.example.com:8080/api/v1/clusters/ErieCluster/hosts/erie2.example.com/host_components/ZKFC" target="_blank"&gt;http://erie1.example.com:8080/api/v1/clusters/ErieCluster/hosts/erie2.example.com/host_components/ZKFC&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But after installing it, its stopping and i am not able to see logs also under /var/log/hadoop/hdfs. Could u plz guide what could be the possible reason. While on the other nameNode, ZKFailOverController is working fine.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 17:56:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165614#M49622</guid>
      <dc:creator>priyanshu770bin</dc:creator>
      <dc:date>2016-12-21T17:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: hi, I deleted ZKFailOverController service from ambari for one of the nameNode out of two. Please help me to bring the service back.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165615#M49623</link>
      <description>&lt;P&gt;Can you please try doing a "ps -ef | grep zkfc" as following :&lt;/P&gt;&lt;PRE&gt;# ps -ef | grep zkfc
hdfs     25692     1  0 09:23 ?        00:00:20 /usr/jdk64/jdk1.8.0_60/bin/java -Dproc_zkfc -Xmx1024m -Dhdp.version=2.5.0.0-1133 -Djava.net.preferIPv4Stack=true -Dhdp.version= -Djava.net.preferIPv4Stack=true -Dhdp.version= -Djava.net.preferIPv4Stack=true -Dhadoop.log.dir=/var/log/hadoop/hdfs -Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/usr/hdp/2.5.0.0-1133/hadoop -Dhadoop.id.str=hdfs -Dhadoop.root.logger=INFO,console -Djava.library.path=:/usr/hdp/2.5.0.0-1133/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.5.0.0-1133/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -Dhdp.version=2.5.0.0-1133 -Dhadoop.log.dir=/var/log/hadoop/hdfs -Dhadoop.log.file=hadoop-hdfs-zkfc-erie1.example.com.log -Dhadoop.home.dir=/usr/hdp/2.5.0.0-1133/hadoop -Dhadoop.id.str=hdfs -Dhadoop.root.logger=INFO,RFA -Djava.library.path=:/usr/hdp/2.5.0.0-1133/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.5.0.0-1133/hadoop/lib/native:/usr/hdp/2.5.0.0-1133/hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.5.0.0-1133/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -Dhadoop.security.logger=INFO,RFAS org.apache.hadoop.hdfs.tools.DFSZKFailoverController&lt;/PRE&gt;&lt;P&gt;- And in the output can you please check what log file path it is taking specially for the following two properties:&lt;/P&gt;&lt;PRE&gt;-Dhadoop.log.dir=/var/log/hadoop/hdfs 
-Dhadoop.log.file=hadoop-hdfs-zkfc-erie1.example.com.log&lt;/PRE&gt;&lt;P&gt;Is it same? &lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 18:27:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165615#M49623</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2016-12-21T18:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: hi, I deleted ZKFailOverController service from ambari for one of the nameNode out of two. Please help me to bring the service back.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165616#M49624</link>
      <description>&lt;P&gt;yes it is same as u mentioned. &lt;/P&gt;&lt;P&gt;I switched user to hdfs using &lt;/P&gt;&lt;P&gt;su hdfs&lt;/P&gt;&lt;P&gt;then gave jps, surprisingly DFSZKFailoverController was running, so killed the process using kill -9 &amp;lt;pid&amp;gt;,&lt;/P&gt;&lt;P&gt;then tried starting it again from ambari, but its again stopping and no logs again getting logged.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 18:57:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hi-I-deleted-ZKFailOverController-service-from-ambari-for/m-p/165616#M49624</guid>
      <dc:creator>priyanshu770bin</dc:creator>
      <dc:date>2016-12-21T18:57:08Z</dc:date>
    </item>
  </channel>
</rss>

