<?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: History Server can not start in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166253#M49668</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14725/waelhorchani1.html" nodeid="14725"&gt;@Wael Horchani&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once the History Server will start it should write in the mentioned log location. However it should at lease have written the out file there.&lt;/P&gt;&lt;P&gt;Anyway now we know that the cause is&lt;EM&gt;&lt;STRONG&gt; "Failed connect to &lt;A href="http://vds002.databridge.tn"&gt;vds002.databridge.tn&lt;/A&gt;:50070; Connection refused"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Can you please make sure that the "&lt;EM&gt;&lt;STRONG&gt;&lt;A href="http://vds002.databridge.tn"&gt;vds002.databridge.tn&lt;/A&gt;:50070"  &lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;/STRONG&gt;host and portare accessible from the History Server Host. &lt;EM&gt;Are you able to do from History Server (for remote testing)
&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;telnet vds002.databridge.tn  50070&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;However as you mentioned that the cluster is on a single host hence can you please share what is the output of the following command:
&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1) FQDN
&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;hostname -f&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;2). Port "50070" is opened or not ?
&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;netstat -tnlpa | grep 50070&lt;/PRE&gt;&lt;P&gt;Also can you also please share the value for the property "&lt;EM&gt;dfs.namenode.http-address&lt;/EM&gt;" from  "Custom hdfs-site". You can get that value form ambari. Please check the value of that mentioned property uses the correct FQDN&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.
&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2016 23:07:26 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2016-12-21T23:07:26Z</dc:date>
    <item>
      <title>History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166247#M49662</link>
      <description>&lt;P&gt;After installing fresh HDP 2.5.3 cluster (ambari 2.4.1.0), all sevices (default selection) installed successfully without any warning. When Starting services, History Server fail to start and make mapreduce fail also.&lt;/P&gt;&lt;PRE&gt;curl: (52) Empty reply from server
100&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Dec 2016 18:04:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166247#M49662</guid>
      <dc:creator>wael_horchani1</dc:creator>
      <dc:date>2016-12-21T18:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166248#M49663</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14725/waelhorchani1.html" nodeid="14725"&gt;@Wael Horchani&lt;/A&gt;&lt;P&gt;Anything obvious you see in history server log.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 18:06:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166248#M49663</guid>
      <dc:creator>rpathak</dc:creator>
      <dc:date>2016-12-21T18:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166249#M49664</link>
      <description>&lt;P&gt;where is located this log file?&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 18:29:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166249#M49664</guid>
      <dc:creator>wael_horchani1</dc:creator>
      <dc:date>2016-12-21T18:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166250#M49665</link>
      <description>&lt;P&gt;please find below the error and log files&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10622-stderr.txt"&gt;stderr.txt&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10623-stdout.txt"&gt;stdout.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 21:49:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166250#M49665</guid>
      <dc:creator>wael_horchani1</dc:creator>
      <dc:date>2016-12-21T21:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166251#M49666</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14725/waelhorchani1.html"&gt;Wael Horchani&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please check the "History Server" log to see if there is any error? &lt;/P&gt;&lt;P&gt;Does it has sufficient memory ? And Warning/Error in the log?&lt;/P&gt;&lt;P&gt;You can find the log in the following location on History Server host:&lt;/P&gt;&lt;PRE&gt;/var/log/hadoop-mapreduce/mapred &lt;/PRE&gt;&lt;P&gt;- Based on the error looks like it might be having some connection issue with NameNode. So can you try running the same curl command from the HistoryServer Host to see if it works fine?&lt;/P&gt;&lt;PRE&gt;curl -sS -L  -X PUT --data-binary @/usr/hdp/2.5.3.0-37/hadoop/mapreduce.tar.gz 'http://vds002.databridge.tn:50070/webhdfs/v1/hdp/apps/2.5.3.0-37/mapreduce/mapreduce.tar.gz?op=CREATE&amp;amp;user.name=hdfs&amp;amp;overwrite=True&amp;amp;permission=444'&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 22:00:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166251#M49666</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2016-12-21T22:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166252#M49667</link>
      <description>&lt;P&gt;Hi Jay,&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;no files found under /var/log/hadoop-mapreduce/mapred&lt;/LI&gt;&lt;LI&gt;the command doesn't works : curl: (7) Failed connect to vds002.databridge.tn:50070; Connection refused&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The cluster is one machine. The firewalld is disabled.&lt;/P&gt;&lt;P&gt;any idea plz?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 23:03:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166252#M49667</guid>
      <dc:creator>wael_horchani1</dc:creator>
      <dc:date>2016-12-21T23:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166253#M49668</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14725/waelhorchani1.html" nodeid="14725"&gt;@Wael Horchani&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once the History Server will start it should write in the mentioned log location. However it should at lease have written the out file there.&lt;/P&gt;&lt;P&gt;Anyway now we know that the cause is&lt;EM&gt;&lt;STRONG&gt; "Failed connect to &lt;A href="http://vds002.databridge.tn"&gt;vds002.databridge.tn&lt;/A&gt;:50070; Connection refused"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Can you please make sure that the "&lt;EM&gt;&lt;STRONG&gt;&lt;A href="http://vds002.databridge.tn"&gt;vds002.databridge.tn&lt;/A&gt;:50070"  &lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;/STRONG&gt;host and portare accessible from the History Server Host. &lt;EM&gt;Are you able to do from History Server (for remote testing)
&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;telnet vds002.databridge.tn  50070&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;However as you mentioned that the cluster is on a single host hence can you please share what is the output of the following command:
&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1) FQDN
&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;hostname -f&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;2). Port "50070" is opened or not ?
&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;netstat -tnlpa | grep 50070&lt;/PRE&gt;&lt;P&gt;Also can you also please share the value for the property "&lt;EM&gt;dfs.namenode.http-address&lt;/EM&gt;" from  "Custom hdfs-site". You can get that value form ambari. Please check the value of that mentioned property uses the correct FQDN&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.
&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 23:07:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166253#M49668</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2016-12-21T23:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166254#M49669</link>
      <description>&lt;P&gt;@Jay SenSharma&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;hostname -f : vds002.databridge.tn&lt;/LI&gt;&lt;LI&gt;netstat -tnlpa | grep 50070 : nothing&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;root@vds002:~# netstat -tnlpa | grep 50070&lt;/P&gt;&lt;P&gt;root@vds002:~#&lt;/P&gt;&lt;P&gt;how to enable communication on this port. trying : firewall-cmd --add-port 50070/tcp --permanent&lt;/P&gt;&lt;P&gt;but no effect.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 03:10:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166254#M49669</guid>
      <dc:creator>wael_horchani1</dc:creator>
      <dc:date>2016-12-22T03:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166255#M49670</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14725/waelhorchani1.html"&gt;Wael Horchani&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As you mentioned that you have a single host cluster. So I guess NameNode also will be running on the same host. So in that case the port "50070" should be opened.  As the netstat output is showing that no such port is opened which means your NameNode is down. Please bring it On.&lt;/P&gt;&lt;P&gt;Also please check NameNode log to see if it ever started successfully or not? and why it did not open the port.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 03:44:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166255#M49670</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2016-12-22T03:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166256#M49671</link>
      <description>&lt;P&gt;@Jay SenSharma&lt;/P&gt;&lt;P&gt;the real problem is the namenode heap of memory. When History Server try to start, The memory usage of the NameNode climbs quickly to exceed the limit of 1 Gega byte (default configuration) and causes the service to fall. When changing max memory heap to 3 Gb it works fine. I installed previously ambari 2.4.0.1 and i don't seen this behaviour (2.4.2.0 same behaviour as 2.4.1.0). Do you know why?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 02:34:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166256#M49671</guid>
      <dc:creator>wael_horchani1</dc:creator>
      <dc:date>2016-12-23T02:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166257#M49672</link>
      <description>&lt;P&gt;Hi, in which secction do I increase the memory? HDFS or MapReduce? thanks a lot&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 09:18:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166257#M49672</guid>
      <dc:creator>bugs0522</dc:creator>
      <dc:date>2017-01-20T09:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166258#M49673</link>
      <description>&lt;P&gt;Hi Aldo, in HDFS. The parameter is called "NameNode Java heap size".&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 05:23:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166258#M49673</guid>
      <dc:creator>wael_horchani1</dc:creator>
      <dc:date>2017-01-21T05:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166259#M49674</link>
      <description>&lt;P&gt;I had the same issue, increasing the heap space for HDFS helped. Also apparently a reboot was required to disable selinux - as the command sestatus was showing enabled.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 12:44:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166259#M49674</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2017-04-05T12:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: History Server can not start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166260#M49675</link>
      <description>&lt;P&gt;Hi, thank you for each of you by contributing with insights and experiences.&lt;/P&gt;&lt;P&gt;Just my contribution: &lt;/P&gt;&lt;P&gt;I could install my 1st cluster recently and I have got these behavior from it; a dumb distraction was the cause: I thought /etc/hosts were fine and they were not (missing entries) - fixing them properly and restarting services, they got up promptly - reds became green at end in ambari dashboard.&lt;/P&gt;&lt;P&gt;cheers and good luck &lt;/P&gt;&lt;P&gt;Massa&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 18:08:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/History-Server-can-not-start/m-p/166260#M49675</guid>
      <dc:creator>masahiro_hirama</dc:creator>
      <dc:date>2017-10-30T18:08:55Z</dc:date>
    </item>
  </channel>
</rss>

