<?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: Amabari server not starting after system reboot. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Amabari-server-not-starting-after-system-reboot/m-p/142237#M56388</link>
    <description>&lt;P&gt;Thanks a ton &lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;@Jay SenSharma&lt;/A&gt;. The problem was that I was not able to locate the ambari.properties file. First ambari install. Well, as suggested, I changed the value and now its working.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2017 16:00:49 GMT</pubDate>
    <dc:creator>xplorerdev</dc:creator>
    <dc:date>2017-03-07T16:00:49Z</dc:date>
    <item>
      <title>Amabari server not starting after system reboot.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Amabari-server-not-starting-after-system-reboot/m-p/142235#M56386</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have setup HDP 2.4.2 cluster using Amabri automated install. I have just one machine. On this I have installed the ambari-agent as well. &lt;EM&gt;All was working fine&lt;/EM&gt;, just high RAM consumption. So, I manually stopped all the services from Ambari UI and then rebooted the machine.&lt;/P&gt;&lt;P&gt;Now when I try to start the ambari server, I get the foll error on the screen:&lt;/P&gt;&lt;PRE&gt;Waiting for server start....................
ERROR: Exiting with exit code -1. 
REASON: Ambari Server java process died with exitcode 255. Check /var/log/ambari-server/ambari-server.out for more information.&lt;/PRE&gt;&lt;P&gt;and inside the &lt;STRONG&gt;ambari-server.log&lt;/STRONG&gt; file, I have the following msgs:&lt;/P&gt;&lt;PRE&gt;07 Mar 2017 12:43:09,823  INFO [main] ViewRegistry:1566 - View deployed: SLIDER{2.0.0}.
07 Mar 2017 12:43:09,828  INFO [main] ViewRegistry:1538 - Reading view archive /var/lib/ambari-server/resources/views/tez-view-2.2.2.0.460.jar.
07 Mar 2017 12:43:10,005  INFO [main] ViewRegistry:1598 - Auto creating instance of view TEZ for cluster winnow.
07 Mar 2017 12:43:10,005  INFO [main] ViewRegistry:1566 - View deployed: TEZ{0.7.0.2.3.4.0-460}.
07 Mar 2017 12:43:10,006  INFO [main] HeartbeatProcessor:154 - **** Starting heartbeats processing threads ****
07 Mar 2017 12:43:10,007  INFO [main] AmbariServer:449 - ********** Started Heartbeat handler **********
07 Mar 2017 12:43:10,008  WARN [ambari-hearbeat-monitor] HeartbeatMonitor:157 - Heartbeat lost from host hdp.com
07 Mar 2017 12:43:10,008 ERROR [main] AmbariServer:844 - Failed to run the Ambari Server
java.lang.NumberFormatException: For input string: "900000000000000"  
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)  
at java.lang.Integer.parseInt(Integer.java:583)  
at java.lang.Integer.parseInt(Integer.java:615)  
at org.apache.ambari.server.configuration.Configuration.getConnectionMaxIdleTime(Configuration.java:1570)  
at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:502)  
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:842)&lt;/PRE&gt;&lt;P&gt;Not sure what's wrong here!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 15:20:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Amabari-server-not-starting-after-system-reboot/m-p/142235#M56386</guid>
      <dc:creator>xplorerdev</dc:creator>
      <dc:date>2017-03-07T15:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Amabari server not starting after system reboot.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Amabari-server-not-starting-after-system-reboot/m-p/142236#M56387</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15614/devpriyobhattacharya.html" nodeid="15614"&gt;@Devpriyo Bhattacharya&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Edit the "/etc/ambari-server/conf/ambari.properties" file and lower the value as following.  (You seem to have defined too large value there "900000000000000")&lt;/P&gt;&lt;PRE&gt;server.connection.max.idle.millis=900000&lt;/PRE&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt;The default value can be seen (as '900000') in the Ambari code base as following:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java#L2005-L2007" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java#L2005-L2007&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;That seems to be causing the following error:&lt;/P&gt;&lt;PRE&gt;ERROR [main] AmbariServer:844 - Failed to run the Ambari Server java.lang.NumberFormatException: For input string: "900000000000000"  
   at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)  &lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Mar 2017 15:36:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Amabari-server-not-starting-after-system-reboot/m-p/142236#M56387</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-07T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Amabari server not starting after system reboot.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Amabari-server-not-starting-after-system-reboot/m-p/142237#M56388</link>
      <description>&lt;P&gt;Thanks a ton &lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;@Jay SenSharma&lt;/A&gt;. The problem was that I was not able to locate the ambari.properties file. First ambari install. Well, as suggested, I changed the value and now its working.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 16:00:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Amabari-server-not-starting-after-system-reboot/m-p/142237#M56388</guid>
      <dc:creator>xplorerdev</dc:creator>
      <dc:date>2017-03-07T16:00:49Z</dc:date>
    </item>
  </channel>
</rss>

