<?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: ambari cluster not working, error in history server in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217785#M69309</link>
    <description>&lt;P&gt;I am doing a fresh install with root user&lt;BR /&gt;Ill give an update as soon as i finish&lt;/P&gt;</description>
    <pubDate>Sun, 15 Oct 2017 17:07:03 GMT</pubDate>
    <dc:creator>ilia987</dc:creator>
    <dc:date>2017-10-15T17:07:03Z</dc:date>
    <item>
      <title>ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217775#M69299</link>
      <description>&lt;P&gt;im based on &lt;A href="http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.listr" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.listr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;selected spark2 and all its required dependencies&lt;/P&gt;&lt;P&gt;the following services have an error:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;History Server  - Connection failed: [Errno 111] Connection refused to ambari-agent1
&lt;/LI&gt;&lt;LI&gt;Hive Metastore
&lt;/LI&gt;&lt;LI&gt;HiveServer2  &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i receive the following error on manual starting history server&lt;/P&gt;&lt;PRE&gt;INFO 2017-10-10 04:57:10,565 logger.py:75 - Testing the JVM's JCE policy to see it if supports an unlimited key length.
INFO 2017-10-10 04:57:10,565 logger.py:75 - Testing the JVM's JCE policy to see it if supports an unlimited key length.
INFO 2017-10-10 04:57:10,681 Hardware.py:176 - Some mount points were ignored: /dev, /run, /, /dev/shm, /run/lock, /sys/fs/cgroup, /boot, /home, /run/user/108, /run/user/1007, /run/user/1005, /run/user/1010, /run/user/1011, /run/user/1012, /run/user/1001
INFO 2017-10-10 04:57:10,682 Controller.py:320 - Sending Heartbeat (id = 4066)
INFO 2017-10-10 04:57:10,688 Controller.py:333 - Heartbeat response received (id = 4067)
INFO 2017-10-10 04:57:10,688 Controller.py:342 - Heartbeat interval is 1 seconds
INFO 2017-10-10 04:57:10,688 Controller.py:380 - Updating configurations from heartbeat
INFO 2017-10-10 04:57:10,688 Controller.py:389 - Adding cancel/execution commands
INFO 2017-10-10 04:57:10,688 Controller.py:475 - Waiting 0.9 for next heartbeat
INFO 2017-10-10 04:57:11,589 Controller.py:482 - Wait for next heartbeat over
WARNING 2017-10-10 04:57:22,205 base_alert.py:138 - [Alert][namenode_hdfs_capacity_utilization] Unable to execute alert. division by zero
INFO 2017-10-10 04:57:27,060 ClusterConfiguration.py:119 - Updating cached configurations for cluster vqcluster
INFO 2017-10-10 04:57:27,071 Controller.py:249 - Adding 1 commands. Heartbeat id = 4085
INFO 2017-10-10 04:57:27,071 ActionQueue.py:113 - Adding EXECUTION_COMMAND for role SPARK2_JOBHISTORYSERVER for service SPARK2 of cluster vqcluster to the queue.
INFO 2017-10-10 04:57:27,081 ActionQueue.py:238 - Executing command with id = 68-0, taskId = 307 for role = SPARK2_JOBHISTORYSERVER of cluster vqcluster.
INFO 2017-10-10 04:57:27,081 ActionQueue.py:279 - Command execution metadata - taskId = 307, retry enabled = False, max retry duration (sec) = 0, log_output = True
WARNING 2017-10-10 04:57:27,083 CommandStatusDict.py:128 - [Errno 2] No such file or directory: '/var/lib/ambari-agent/data/output-307.txt'
INFO 2017-10-10 04:57:32,563 PythonExecutor.py:130 - Command ['/usr/bin/python',
 u'/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/job_history_server.py',
 u'START',
 '/var/lib/ambari-agent/data/command-307.json',
 u'/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package',
 '/var/lib/ambari-agent/data/structured-out-307.json',
 'INFO',
 '/var/lib/ambari-agent/tmp',
 'PROTOCOL_TLSv1',
 ''] failed with exitcode=1
INFO 2017-10-10 04:57:32,577 log_process_information.py:40 - Command 'export COLUMNS=9999 ; ps faux' returned 0. USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Oct 2017 16:49:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217775#M69299</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2017-10-10T16:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217776#M69300</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45274/ilia987.html" nodeid="45274"&gt;@ilia kheifets&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you running ambari server as "root" or non root user? &lt;/P&gt;&lt;P&gt;Do you have proper write permission (Read-Write) inside the following directory &lt;STRONG&gt;"/var/lib/ambari-agent/data"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;PRE&gt;WARNING 2017-10-1004:57:27,083CommandStatusDict.py:128-[Errno2] No such file or directory:'/var/lib/ambari-agent/data/output-307.txt'&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 17:01:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217776#M69300</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-10T17:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217777#M69301</link>
      <description>&lt;P&gt;i started the ambari agent with non root user &lt;/P&gt;&lt;P&gt;i fixed the permission issue&lt;/P&gt;&lt;P&gt;with &lt;/P&gt;&lt;PRE&gt;setfacl -m u:admin:rwx /var/lib/ambari-agent/data&lt;/PRE&gt;&lt;P&gt;still have the same error&lt;/P&gt;&lt;PRE&gt;INFO 2017-10-08 06:53:44,072 ClusterConfiguration.py:119 - Updating cached configurations for cluster vqcluster
INFO 2017-10-08 06:53:44,084 Controller.py:249 - Adding 1 commands. Heartbeat id = 3567
INFO 2017-10-08 06:53:44,085 ActionQueue.py:113 - Adding EXECUTION_COMMAND for role HISTORYSERVER for service MAPREDUCE2 of cluster vqcluster to the queue.
INFO 2017-10-08 06:53:44,117 ActionQueue.py:238 - Executing command with id = 26-0, taskId = 100 for role = HISTORYSERVER of cluster vqcluster.
INFO 2017-10-08 06:53:44,117 ActionQueue.py:279 - Command execution metadata - taskId = 100, retry enabled = False, max retry duration (sec) = 0, log_output = True
INFO 2017-10-08 06:53:44,931 PythonExecutor.py:130 - Command ['/usr/bin/python',
 u'/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py',
 u'START',
 '/var/lib/ambari-agent/data/command-100.json',
 u'/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package',
 '/var/lib/ambari-agent/data/structured-out-100.json',
 'INFO',
 '/var/lib/ambari-agent/tmp',
 'PROTOCOL_TLSv1',
 ''] failed with exitcode=1


&amp;lt;br&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Oct 2017 19:56:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217777#M69301</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2017-10-10T19:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217778#M69302</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/45274/ilia987.html" nodeid="45274"&gt;@ilia kheifets&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Did you do the sudoer configuration for Ambari agents. If not please follow the doc and perform the steps, restart ambari agents and try to start the history server.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-security/content/how_to_configure_an_ambari_agent_for_non-root.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-security/content/how_to_configure_an_ambari_agent_for_non-root.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 22:11:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217778#M69302</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-10-10T22:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217779#M69303</link>
      <description>&lt;P&gt;HI, i tried it and indeed had to change the user under "run_as_user" but the error still exist&lt;/P&gt;&lt;P&gt;i also tried to do a new setup as root user (on a clean install and still have the same issue) &lt;/P&gt;&lt;P&gt;when i tried to run the command manually:&lt;/P&gt;&lt;PRE&gt;/usr/bin/python /var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py START /var/lib/ambari-agent/data/command-100.json /var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package /var/lib/ambari-agent/data/structured-out-100.json INFO /var/lib/ambari-agent/tmp PROTOCOL_TLSv1&lt;/PRE&gt;&lt;P&gt;i receive the error &lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py", line 22, in &amp;lt;module&amp;gt;
    from resource_management.libraries.script.script import Script&lt;/PRE&gt;</description>
      <pubDate>Sun, 15 Oct 2017 12:38:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217779#M69303</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2017-10-15T12:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217780#M69304</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/45274/ilia987.html"&gt;ilia kheifets&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sorry to hear you are encountering all these problems. Could you  tell me the &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;HDP,Ambari&lt;/STRONG&gt; and &lt;STRONG&gt;OS type &lt;/STRONG&gt;and &lt;STRONG&gt;version&lt;/STRONG&gt; you are trying to install.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I will try to guide you.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 14:03:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217780#M69304</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-15T14:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217781#M69305</link>
      <description>&lt;P&gt;ubuntu 16.4 based on&lt;/P&gt;&lt;P&gt;&lt;A href="http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.list" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.list&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and ubuntu 14.4 based on &lt;/P&gt;&lt;P&gt;&lt;A href="http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.5.2.0/ambari.list" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.5.2.0/ambari.list&lt;/A&gt;&lt;/P&gt;&lt;TABLE style="font-size: 15px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;HDP-2.6.2.0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;HDFS&lt;/TD&gt;&lt;TD&gt;2.7.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;YARN&lt;/TD&gt;&lt;TD&gt;2.7.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MapReduce2&lt;/TD&gt;&lt;TD&gt;2.7.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Tez&lt;/TD&gt;&lt;TD&gt;0.7.0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Hive&lt;/TD&gt;&lt;TD&gt;1.2.1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pig&lt;/TD&gt;&lt;TD&gt;0.16.0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ZooKeeper&lt;/TD&gt;&lt;TD&gt;3.4.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Ambari Metrics&lt;/TD&gt;&lt;TD&gt;0.1.0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SmartSense&lt;/TD&gt;&lt;TD&gt;1.4.2.2.5.2.0-298&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Spark2&lt;/TD&gt;&lt;TD&gt;2.1.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Slider&lt;/TD&gt;&lt;TD&gt;0.92.0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sun, 15 Oct 2017 14:11:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217781#M69305</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2017-10-15T14:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217782#M69306</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/45274/ilia987.html"&gt;&lt;EM&gt;@ilia kheifets&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;What is your cluster size? what error especially are you experiencing? &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Once you respond, I never experience such a problem n Ubuntu, will build a single node cluster and try to reproduce your error.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 15:14:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217782#M69306</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-15T15:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217783#M69307</link>
      <description>&lt;P&gt;for the test case i used a total of 3 computers&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt; ambari-server to manage all nodes
&lt;/LI&gt;&lt;LI&gt; amabri-agent to hold all managing services
&lt;/LI&gt;&lt;LI&gt; ambari-agent only worker services&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;the error mentioned in the first post, upon starting all services on all nodes,
the History Server ,Hive Metastore ,HiveServer2 faill to start.&lt;/P&gt;&lt;P&gt;I made a simple step by step install, with no special configuration on fresh vm, based on clean images from &lt;A href="http://www.osboxes.org" target="_blank"&gt;http://www.osboxes.org&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 15:28:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217783#M69307</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2017-10-15T15:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217784#M69308</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/45274/ilia987.html"&gt;&lt;EM&gt;@ilia kheifets&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Curious though did you install ambari-agent on the ambari server too? If you didn't please do that and edit &lt;STRONG&gt;/etc/ambari-agent/conf/ambari-agent.ini&lt;/STRONG&gt; to point to the new host. &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;[server]
hostname={Ambari-server_FQDN}
url_port=8440
secured_url_port=8441&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Please le me know before I build an environment to reproduce your issue!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 15:41:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217784#M69308</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-15T15:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217785#M69309</link>
      <description>&lt;P&gt;I am doing a fresh install with root user&lt;BR /&gt;Ill give an update as soon as i finish&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 17:07:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217785#M69309</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2017-10-15T17:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217786#M69310</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/45274/ilia987.html"&gt;&lt;EM&gt;@ilia kheifets&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Its unfortunate we didn't drill down to resolve the issue but always remember to also install the ambari-agent on the Ambari server!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Keep me posted so I won't install and ubuntu 14 to resolve your problem.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 17:35:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217786#M69310</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-15T17:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217787#M69311</link>
      <description>&lt;P&gt;just made a fresh install &lt;/P&gt;&lt;P&gt;ubuntu &lt;STRONG&gt;16.04 &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;  4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux &lt;/PRE&gt;&lt;P&gt;server: &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;HDP-2.6.2.0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;UL&gt;
&lt;LI&gt;apt-get install ambari-server&lt;/LI&gt;&lt;LI&gt;apt-get install ambari-agent&lt;/LI&gt;&lt;LI&gt; 
ambari-setup -s &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;agent (2 agents based on ambari ssh auto install) &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;one agent with only services &lt;/LI&gt;&lt;LI&gt;one agent only with workers&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;
issue same as above &lt;/P&gt;&lt;PRE&gt;INFO 2017-10-15 09:50:42,758 ClusterConfiguration.py:119 - Updating cached configurations for cluster vqcluster
INFO 2017-10-15 09:50:42,769 Controller.py:249 - Adding 1 commands. Heartbeat id = 1930
INFO 2017-10-15 09:50:42,769 ActionQueue.py:113 - Adding EXECUTION_COMMAND for role HISTORYSERVER for service MAPREDUCE2 of cluster vqcluster to the queue.
INFO 2017-10-15 09:50:42,805 ActionQueue.py:238 - Executing command with id = 23-0, taskId = 106 for role = HISTORYSERVER of cluster vqcluster.
INFO 2017-10-15 09:50:42,806 ActionQueue.py:279 - Command execution metadata - taskId = 106, retry enabled = False, max retry duration (sec) = 0, log_output = True
WARNING 2017-10-15 09:50:42,806 CommandStatusDict.py:128 - [Errno 2] No such file or directory: '/var/lib/ambari-agent/data/output-106.txt'
INFO 2017-10-15 09:50:43,873 PythonExecutor.py:130 - Command ['/usr/bin/python',
 u'/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py',
 u'START',
 '/var/lib/ambari-agent/data/command-106.json',
 u'/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package',
 '/var/lib/ambari-agent/data/structured-out-106.json',
 'INFO',
 '/var/lib/ambari-agent/tmp',
 'PROTOCOL_TLSv1',
 ''] failed with exitcode=1&lt;/PRE&gt;&lt;P&gt;server and client was installed and started via root&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 20:55:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217787#M69311</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2017-10-15T20:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217788#M69312</link>
      <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/users/45274/ilia987.html"&gt;@ilia kheifets&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I don't see your updated thread though I have just received your update email. So you are still encountering the same problem.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;What document did you use, if you have one can you share it.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Did you run the below on all the  3 nodes&lt;/EM&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# apt-get install ambari-agent&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Can you confirm that this directory  exists &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;/var/lib/ambari-agent/data/output-106.txt&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Please revert&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 21:14:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217788#M69312</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-15T21:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217789#M69313</link>
      <description>&lt;PRE&gt; # apt-get install ambari-agent&lt;/PRE&gt;&lt;P&gt;only on server , i think user must install on each agent and register it only when using non root install (not auto vi ssh)&lt;/P&gt;&lt;OL&gt;
&lt;/OL&gt;&lt;PRE&gt;&amp;lt;em&amp;gt;/var/lib/ambari-agent/data/output-106.txt&amp;lt;/em&amp;gt;&lt;/PRE&gt;&lt;P&gt;folder exists, but file does not&lt;/P&gt;&lt;P&gt;what did you mean by revert?&lt;/P&gt;&lt;P&gt;i tried multiple guides (for default settings all of them are exactly the same), but i just made a simple (next-&amp;gt;next install with all default settings..)&lt;/P&gt;&lt;P&gt;for instance &lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 21:25:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217789#M69313</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2017-10-15T21:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217790#M69314</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/45274/ilia987.html"&gt;@ilia kheifets&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;revert justmeans get back to me I  have just downloaded an Ubuntu 16.0.4  let me try it out.&lt;/P&gt;&lt;P&gt;The ambari-agent can be installed  NOT only when using non-root but if you don't have passwordless configuration between the nodes. &lt;/P&gt;&lt;PRE&gt;# apt-get install ambari-agent&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Give me some time &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 21:57:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217790#M69314</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-15T21:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217791#M69315</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/45274/ilia987.html"&gt;@ilia kheifets&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;As promised I tried to recreate your environment on a 1 node cluster running Ubuntu 16.04 in a VM with 12 GB RAM.After the installations find below the high-level steps I performed. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The Cluster is installing without any issues &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Generate public and private SSH keys on the Ambari Server host. &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# ssh-keygen &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Accepted default values,copy the SSH Public Key (id_rsa.pub) to the root account on your target hosts if multi-node. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;.ssh/id_rsa &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;.ssh/id_rsa.pub &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add the SSH Public Key to the authorized_keys file on your target hosts. &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# cat id_rsa.pub &amp;gt;&amp;gt; authorized_keys 
root@ubuntu17:~# chmod 700 ~/.ssh 
root@ubuntu17:~# chmod 600 ~/.ssh/authorized_keys &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Set NTPD &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# apt-get install ntp 
root@ubuntu17:~# update-rc.d ntp defaults &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Set the host FQDN in my case the Ambari server &lt;STRONG&gt;vi /etc/hosts ----&lt;/STRONG&gt; IP--FDN--ALIAS&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt; 192.168.0.172 ubuntu17.kenya.com ubuntu17 &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Edit host name &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# vi /etc/hostname 
ubuntu17.kenya.com&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Firewall settings &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# sudo ufw disable 
The program 'setenforce' is currently not installed.So I installed
&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;The program 'setenforce' is currently not installed.So I installed&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# apt install selinux-utils &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Disable SE-Linux &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# setenforce 0 &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Set UMASK &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# umask 0022 
root@ubuntu17:~# echo umask 0022 &amp;gt;&amp;gt; /etc/profile &lt;/PRE&gt;&lt;H4&gt;&lt;EM&gt;Download Ambari repo files &lt;/EM&gt;&lt;/H4&gt;&lt;PRE&gt;root@ubuntu17:~# wget -O /etc/apt/sources.list.d/ambari.list &lt;A href="http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.list" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.list&lt;/A&gt; &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Grab the key&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Update&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# apt-get update &lt;/PRE&gt; &lt;PRE&gt;root@ubuntu17:~# apt-cache showpkg ambari-server 
root@ubuntu17:~# apt-cache showpkg ambari-agent 
root@ubuntu17:~# apt-cache showpkg ambari-metrics-assembly &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Install Java Openjdk comes with JCE &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# sudo apt-get install openjdk-8-jdk &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Install Ambari server here I used the root user&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# apt-get install ambari-server 
root@ubuntu17:~# ambari-server setup &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Setup as root user with default postgres databases &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# ambari-server start 
Ambari Server 'start' completed successfully. &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Get the FQDN for the ambari server&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# hostname -f 
ubuntu17.kenya.com &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;So my Ambari URL will be &lt;STRONG&gt;&lt;A href="http://ubuntu17.kenya.com:8080" target="_blank"&gt;http://ubuntu17.kenya.com:8080&lt;/A&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;See attached screenshot,got an error with THP so had to disable &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~/.ssh# cat /sys/kernel/mm/transparent_hugepage/enabled [always] madvise never 
root@ubuntu17:~/.ssh# echo never &amp;gt; /sys/kernel/mm/transparent_hugepage/enabled 
root@ubuntu17:~/.ssh# echo never &amp;gt; /sys/kernel/mm/transparent_hugepage/defrag 
root@ubuntu17:~/.ssh# cat /sys/kernel/mm/transparent_hugepage/enabled always madvise [never]&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Setup Mysql database for hive ,oozie etc &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# sudo apt-get update 
root@ubuntu17:~# sudo apt-get install mysql-server 
root@ubuntu17:~# sudo mysql_secure_installation 
root@ubuntu17:~# apt-get install -y libpostgresql-jdbc-java 
root@ubuntu17:~# apt-get install libmysql-java 
root@ubuntu17:~# ls /usr/share/java/mysql-connector-java.jar &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Check that the mysql connector is present at that location &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;root@ubuntu17:~# ls /usr/share/java/mysql-connector-java.jar&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Create the hive,oozie and ranger databases in Mysql with the correct privileges &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;created database for hive successfully&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;created database for oozie successfully&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;created database for ranger successfully&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Run this command &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Proceeded with the cluster installation &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://ubuntu17.kenya.com:8080" target="_blank"&gt;http://ubuntu17.kenya.com:8080&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;See attached screenshots&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8053i08C35CD8553738BC/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture4.jpg" title="capture4.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8054i34877FB48CBBF243/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture3.jpg" title="capture3.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8056i2163E90DE4EF433A/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture1.jpg" title="capture1.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8057i292B0E2BD38FFBA9/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture-thp-5.jpg" title="capture-thp-5.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8059iB090C13B332BCA2B/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture2.jpg" title="capture2.jpg" /&gt;</description>
      <pubDate>Mon, 16 Oct 2017 04:03:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217791#M69315</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-16T04:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217792#M69316</link>
      <description>&lt;P&gt;&lt;EM&gt;subsequent screenshots&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6648i601408441DE0E4AA/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture10.jpg" title="capture10.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6650i74511FA0E7DC34EC/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture7.jpg" title="capture7.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6651i8345EA39457CC5A5/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture6.jpg" title="capture6.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6653iA88F140368669ECA/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture9.jpg" title="capture9.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6655iABDD95EA0A500F8A/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture8.jpg" title="capture8.jpg" /&gt;</description>
      <pubDate>Mon, 16 Oct 2017 04:06:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217792#M69316</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-16T04:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217793#M69317</link>
      <description>&lt;P&gt;i am waiting to see the outcome because most of the steps i made are exactly the same&lt;/P&gt;&lt;P&gt;exceptions:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;Firewall setting - &lt;/EM&gt; i did not disable cause the fw is not installed on the vm &lt;/LI&gt;&lt;LI&gt;java and sql-  i set default so the ambari-server setup should get its default java and its own sql db &lt;/LI&gt;&lt;LI&gt;THP - had the error, but it only effects on performance, so i did not solve it on my use case, i wanted a working system at first&lt;/LI&gt;&lt;LI&gt;i used less services. i selected only spark2 and when pressing next enabled all its dependencies and required services&lt;/LI&gt;&lt;LI&gt;i used 2 nodes, one for all the service. and one only for clients\workes &lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 16 Oct 2017 13:07:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217793#M69317</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2017-10-16T13:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster not working, error in history server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217794#M69318</link>
      <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/users/45274/ilia987.html"&gt;@ilia kheifets&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Here we go all the services up and running without major issues !!! &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Did you install java with JCE? standard procedure?  I have seen your comments but at times we ignore the obvious well-documented steps. I followed usual steps and all is up and running. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;As I have demonstrated that  the procedure is OK and valid, this answered your question.&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6280iB79F4AA61A150BE0/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="all-service-up.jpg" title="all-service-up.jpg" /&gt;</description>
      <pubDate>Mon, 16 Oct 2017 16:06:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-not-working-error-in-history-server/m-p/217794#M69318</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-16T16:06:05Z</dc:date>
    </item>
  </channel>
</rss>

