<?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 monitor failed to start in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201866#M76807</link>
    <description>&lt;P&gt;It worked. Thanks a ton &lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay Kumar SenSharma&lt;/A&gt; . appreciate the patience from your side&lt;/P&gt;</description>
    <pubDate>Thu, 05 Apr 2018 15:17:26 GMT</pubDate>
    <dc:creator>jagtapkrupal</dc:creator>
    <dc:date>2018-04-05T15:17:26Z</dc:date>
    <item>
      <title>ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201845#M76786</link>
      <description>&lt;P&gt;ambari metrics monitor failed to start on one my 2 hosts. here is the error &lt;/P&gt;&lt;P&gt;stderr: 
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py", line 58, in &amp;lt;module&amp;gt;
    AmsMonitor().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py", line 28, in install
    self.install_packages(env, exclude_packages = ['ambari-metrics-collector', 'ambari-metrics-grafana'])
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 410, in install_packages
    retry_count=agent_stack_retry_count)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 54, in action_install
    self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 49, in install_package
    self.checked_call_with_retries(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 83, in checked_call_with_retries
    return self._call_with_retries(cmd, is_checked=True, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 91, in _call_with_retries
    code, out = func(cmd, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
    raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-monitor' returned 1. Error: Nothing to do
 stdout:
2018-04-03 05:48:24,805 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.3.6.0-3796
2018-04-03 05:48:24,805 - Checking if need to create versioned conf dir /etc/hadoop/2.3.6.0-3796/0
2018-04-03 05:48:24,805 - call['conf-select create-conf-dir --package hadoop --stack-version 2.3.6.0-3796 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1}
2018-04-03 05:48:24,837 - call returned (1, '/etc/hadoop/2.3.6.0-3796/0 exist already', '')
2018-04-03 05:48:24,837 - checked_call['conf-select set-conf-dir --package hadoop --stack-version 2.3.6.0-3796 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False}
2018-04-03 05:48:24,868 - checked_call returned (0, '')
2018-04-03 05:48:24,868 - Ensuring that hadoop has the correct symlink structure
2018-04-03 05:48:24,869 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2018-04-03 05:48:24,871 - Group['hadoop'] {}
2018-04-03 05:48:24,873 - Group['users'] {}
2018-04-03 05:48:24,873 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']}
2018-04-03 05:48:24,875 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']}
2018-04-03 05:48:24,876 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']}
2018-04-03 05:48:24,877 - User['oozie'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']}
2018-04-03 05:48:24,878 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']}
2018-04-03 05:48:24,879 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']}
2018-04-03 05:48:24,880 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']}
2018-04-03 05:48:24,881 - User['sqoop'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']}
2018-04-03 05:48:24,882 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']}
2018-04-03 05:48:24,883 - User['hcat'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']}
2018-04-03 05:48:24,884 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']}
2018-04-03 05:48:24,885 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2018-04-03 05:48:24,888 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
2018-04-03 05:48:24,893 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] due to not_if
2018-04-03 05:48:24,894 - Group['hdfs'] {}
2018-04-03 05:48:24,894 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'hdfs']}
2018-04-03 05:48:24,895 - FS Type: 
2018-04-03 05:48:24,895 - Directory['/etc/hadoop'] {'mode': 0755}
2018-04-03 05:48:24,919 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2018-04-03 05:48:24,920 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 0777}
2018-04-03 05:48:24,937 - Repository['HDP-2.3'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.6.0', 'action': ['create'], 'components': ['HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP', 'mirror_list': None}
2018-04-03 05:48:24,949 - File['/etc/yum.repos.d/HDP.repo'] {'content': '[HDP-2.3]\nname=HDP-2.3\nbaseurl=http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.6.0\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-04-03 05:48:24,950 - Repository['HDP-UTILS-1.1.0.20'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6', 'action': ['create'], 'components': ['HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None}
2018-04-03 05:48:24,955 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': '[HDP-UTILS-1.1.0.20]\nname=HDP-UTILS-1.1.0.20\nbaseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-04-03 05:48:24,956 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2018-04-03 05:48:25,089 - Skipping installation of existing package unzip
2018-04-03 05:48:25,089 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2018-04-03 05:48:25,109 - Skipping installation of existing package curl
2018-04-03 05:48:25,110 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2018-04-03 05:48:25,130 - Skipping installation of existing package hdp-select
2018-04-03 05:48:25,355 - Package['ambari-metrics-monitor'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2018-04-03 05:48:25,488 - Installing package ambari-metrics-monitor ('/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-monitor')&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 18:52:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201845#M76786</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-03T18:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201846#M76787</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;@Krupal Jagtap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following error indicates that somehow the yum installation is not happening:&lt;/P&gt;&lt;PRE&gt;Fail(err_msg) resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-monitor' returned 1. 
Error: Nothing to do stdout: &lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;So can you please try to do the manual installation of monitor Binaries on that host as following and then continue from Ambari Server UI.&lt;/P&gt;&lt;PRE&gt;# yum clean all
# yum remove ambari-metrics-monitor
# yum install ambari-metrics-monitor&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Sometimes incomplete transaction at yum level causes such issue so better to remove the incomplete binary installation first and then try installing it again.&lt;/P&gt;&lt;P&gt;Also please check if the "/etc/yum.repos.d/ambari.repo" file on that host is pointing to the correct repo URL and that URL is accessible from the host ?&lt;/P&gt;&lt;PRE&gt;# cat /etc/yum.repos.d/ambari.repo
# cat /etc/yum.repos.d/ambari.repo  | grep baseurl&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 18:59:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201846#M76787</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-04-03T18:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201847#M76788</link>
      <description>&lt;P&gt;Hi Jay , Thanks for responding , I tried the commands and it showed&lt;/P&gt;&lt;P&gt;# yum remove ambari-metrics-monitor &lt;/P&gt;&lt;P&gt;Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Remove Process
No Match for argument: ambari-metrics-monitor
Loading mirror speeds from cached hostfile
 * base: mirror.den1.denvercolo.net
 * extras: mirror.raystedman.net
 * updates: mirror.compevo.com
No Packages marked for removal&lt;/P&gt;&lt;P&gt;it seems the packages are unavailable&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 19:03:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201847#M76788</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-03T19:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201848#M76789</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;@Krupal Jagtap&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;AMS monitor should come from Ambari repo (not from HDP repo) so please check if you have the amabri.repo file present on that host or not?&lt;/P&gt;&lt;PRE&gt;# cat /etc/yum.repos.d/ambari.repo&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If not then please copy and paste that repo file from ambari-server host to this host.  &lt;/P&gt;&lt;P&gt;Also please make sure that the host where the AMS monitor installation is failing does not have any N/W issue. THis is to ensure that the yum installation for AMS monitor happens without any issue.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 19:12:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201848#M76789</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-04-03T19:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201849#M76790</link>
      <description>&lt;P&gt;hi Jay , SO the repo file was missing so I copied that file on the host and the metrics monitor started, But it still doesnt show any data on the metrics GUI . The square boxes prompt "no data available"&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 20:16:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201849#M76790</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-03T20:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201850#M76791</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;@Krupal Jagtap&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Good to know that now at lease the AMS monitor is coming up.&lt;/P&gt;&lt;P&gt;Regarding the "No data available"  issue please share the "/var/log/ambari-metrics-monitor/ambari-metrics-monitor.out"&lt;/P&gt;&lt;P&gt;Also please check if the "/etc/ambari-metrics-monitor/conf/ambari-metrics-monitor.ini" file is pointing to the Correct Hostname of AMS Collector?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 20:33:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201850#M76791</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-04-03T20:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201851#M76792</link>
      <description>&lt;P&gt;HI so the ambari-metrics-monitor.ini file seem to be pointing at the right host &lt;/P&gt;&lt;P&gt;here is the log for ambari-metrics-monitor.out&lt;/P&gt;&lt;P&gt;2018-04-03 07:10:43,905 [INFO] host_info.py:294 - hostname_script: None
2018-04-03 07:10:43,970 [INFO] host_info.py:306 - Cached hostname: itxcqchdp01.catmdev.com
2018-04-03 07:10:43,970 [INFO] controller.py:102 - Adding event to cache, all : {u'metrics': [{u'value_threshold': u'128', u'name': u'bytes_out'}], u'collect_every': u'10'}
2018-04-03 07:10:43,970 [INFO] controller.py:110 - Adding event to cache,  : {u'metrics': [], u'collect_every': u'15'}
2018-04-03 07:10:43,970 [INFO] main.py:65 - Starting Server RPC Thread: /usr/lib/python2.6/site-packages/resource_monitoring/main.py start
2018-04-03 07:10:43,971 [INFO] controller.py:57 - Running Controller thread: Thread-1
2018-04-03 07:10:43,971 [INFO] emitter.py:45 - Running Emitter thread: Thread-2
2018-04-03 07:10:43,971 [INFO] emitter.py:65 - Nothing to emit, resume waiting.
2018-04-03 07:11:43,973 [WARNING] emitter.py:74 - Error sending metrics to server. 'NoneType' object has no attribute 'strip'
2018-04-03 07:11:43,973 [WARNING] emitter.py:80 - Retrying after 5 ...
2018-04-03 07:11:48,974 [WARNING] emitter.py:74 - Error sending metrics to server. 'NoneType' object has no attribute 'strip'
2018-04-03 07:11:48,974 [WARNING] emitter.py:80 - Retrying after 5 ...&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 20:37:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201851#M76792</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-03T20:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201852#M76793</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;@Krupal Jagtap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following error might occur if you have installed a slightly different version of Ambari Metrics Monitor compared to the ambari version and hence there are some library mismatch.&lt;/P&gt;&lt;PRE&gt;[WARNING] emitter.py:74 - Error sending metrics to server. 'NoneType' object has no attribute 'strip' 2&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please check the output of  the following command and verify if all the ambari component versions are same?&lt;/P&gt;&lt;PRE&gt;# rpm -qa | grep ambari&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Better to freshly try installing the ams monitor.  From ambari UI just remove the metrics monitor process and then try installing it again.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 20:47:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201852#M76793</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-04-03T20:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201853#M76794</link>
      <description>&lt;P&gt;I tried the commannd you mentioned and it returned following value &lt;/P&gt;&lt;P&gt;ambari-metrics-collector-2.1.0-1470.x86_64&lt;/P&gt;&lt;P&gt;
ambari-metrics-monitor-2.1.0-1470.x86_64&lt;/P&gt;&lt;P&gt;
ambari-server-2.2.2.0-460.x86_64 &lt;/P&gt;&lt;P&gt;ambari-metrics-hadoop-sink-2.1.0-1470.x86_64 &lt;/P&gt;&lt;P&gt;ambari-agent-2.2.2.0-460.x86_64&lt;/P&gt;&lt;P&gt;And if i had to remove the process and try installing again, How would I go about doing it?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 20:55:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201853#M76794</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-03T20:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201854#M76795</link>
      <description>&lt;P&gt;One other thing , The data for metrics is unavailable for only one master host. For the other host the graphs are visible&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 21:21:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201854#M76795</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-03T21:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201855#M76796</link>
      <description>&lt;P&gt;Hi jay , The delete option for ams monitor is disabled in the ambari UI . How should I go about deleting it and reinstalling it again?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 17:47:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201855#M76796</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-04T17:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201856#M76797</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;@Krupal Jagtap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can use the Ambari API approach to delete the AMS monitor component.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# curl  -u admin:admin -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://hdfcluster1.example.com:8080/api/v1/clusters/TestCluster/hosts/hdfcluster3.example.com/host_components/METRICS_MONITOR" target="_blank"&gt;http://hdfcluster1.example.com:8080/api/v1/clusters/TestCluster/hosts/hdfcluster3.example.com/host_components/METRICS_MONITOR&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here "hdfcluster3.example.com" is the host from where we want to delete the Metrics Monitor.&lt;BR /&gt;"hdfcluster1.example.com:8080" is ambari server host &amp;amp; port.&lt;BR /&gt;"TestCluster" is the cluster name.&lt;/P&gt;&lt;P&gt;Please replace these values accordingly.&lt;/P&gt;&lt;P&gt;Once it is deleted .. it is better to clean the "/etc/ambari-metrics-monitor" directory from that host.  And it is also better to take a backup of the mentioned directory and then move it.&lt;/P&gt;&lt;PRE&gt;# mv /etc/ambari-metrics-monitor  /etc/ambari-metrics-monitor_BKP
# mv /usr/lib/python2.6/site-packages/resource_monitoring /usr/lib/python2.6/site-packages/resource_monitoring_BKP&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Then freshly reinstall the monitor from ambari UI on this host.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 18:02:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201856#M76797</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-04-04T18:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201857#M76798</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I tried the curl command for removing it &lt;/P&gt;&lt;P&gt;it returned the following error&lt;/P&gt;&lt;P&gt;{
  "status" : 500,
  "message" : "org.apache.ambari.server.controller.spi.SystemException: An inter                                                                                        nal system exception occurred: Host Component cannot be removed, clusterName=Qc, serviceName=AMBARI_METRICS, componentName=METRICS_MONITOR, hostname=                                                                                        itxcqchdp01.catmdev.com, request={ clusterName=CardtronicsQc, serviceName=AMBARI                                                                                        _METRICS, componentName=METRICS_MONITOR, hostname=itxcqchdp01.catmdev.com, desir                                                                                        edState=null, state=null, desiredStackId=null, staleConfig=null, adminState=null                                                                                        }"&lt;/P&gt;&lt;P&gt;The problem seems to be on the main host itself&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 18:25:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201857#M76798</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-04T18:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201858#M76799</link>
      <description>&lt;P&gt;And if tried from hdfs user , It does not return any output&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 18:30:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201858#M76799</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-04T18:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201859#M76800</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;@Krupal Jagtap&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We will have to look at the complete "ambari-server.log" to understand what might be the issue.&lt;/P&gt;&lt;P&gt;However looks like it might be due to Database Inconsistency.&lt;/P&gt;&lt;P&gt;Take a fresh Amabri DB dump (as a backup).&lt;/P&gt;&lt;P&gt;Is it possible to just stop the "Ambari Metrics" service itself and then Delete the whole "Ambari Metrics Service" from ambari UI and then reinstall it to quickly attempt to find the fix.  (If you do not have much AMS data then deleting this service and installing it might be a better option)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 18:34:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201859#M76800</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-04-04T18:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201860#M76801</link>
      <description>&lt;P&gt;Yep of course. I do not have much ams data and I think to delete it completely and reinstall it will be the better option. Not sure how to do it though &lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 18:38:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201860#M76801</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-04T18:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201861#M76802</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;@Krupal Jagtap&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Login to Ambari UI and the  navigate to Amabri Dashboard left panel &lt;/P&gt;&lt;PRE&gt;Ambari Metrics --&amp;gt; "Service Actions" (Drop down menu) --&amp;gt; Stop
Ambari Metrics --&amp;gt; "Service Actions" (Drop down menu) --&amp;gt; Delete Service&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69415/jagtapkrupal.html" nodeid="69415"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 18:41:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201861#M76802</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-04-04T18:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201862#M76803</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay Kumar SenSharma&lt;/A&gt; there is no option of delete even after service is stopped, Just restart and move&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 21:22:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201862#M76803</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-04T21:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201863#M76804</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay Kumar SenSharma ♦&lt;/A&gt; Hi jay . So I removed the service and added it again through teh ambari web ui. Still one of the hosts does not generate any metrics. other host displays the graphs and everything. What might be the problem here?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 13:37:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201863#M76804</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-05T13:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: ambari monitor failed to start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201864#M76805</link>
      <description>&lt;P&gt;the ambari-metric-monitor has following log&lt;/P&gt;&lt;P&gt;2018-04-05 00:07:04,749 [INFO] controller.py:110 - Adding event to cache,  : {u'metrics': [], u'collect_every': u'15'}
2018-04-05 00:07:04,749 [INFO] main.py:65 - Starting Server RPC Thread: /usr/lib/python2.6/site-packages/resource_monitoring/main.py start
2018-04-05 00:07:04,749 [INFO] controller.py:57 - Running Controller thread: Thread-1
2018-04-05 00:07:04,750 [INFO] emitter.py:45 - Running Emitter thread: Thread-2
2018-04-05 00:07:04,750 [INFO] emitter.py:65 - Nothing to emit, resume waiting.
2018-04-05 00:08:04,752 [WARNING] emitter.py:74 - Error sending metrics to server. 'NoneType' object has no attribute 'strip'
2018-04-05 00:08:04,752 [WARNING] emitter.py:80 - Retrying after 5 ...&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:33:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-monitor-failed-to-start/m-p/201864#M76805</guid>
      <dc:creator>jagtapkrupal</dc:creator>
      <dc:date>2018-04-05T14:33:29Z</dc:date>
    </item>
  </channel>
</rss>

