<?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-metrics-collector : resource_management.core.exceptions.ExecutionFailed , no space left on device in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-metrics-collector-resource-management-core-exceptions/m-p/214922#M84544</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;, Thanks a lot for helping me! Aparently I ran out of inodes. Not sure why it did not occur to me to check it first place ... Anyways reformatting the filesystem and a little bit of file shuffling exercise did the trick &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Oct 2018 21:49:29 GMT</pubDate>
    <dc:creator>alex_goron</dc:creator>
    <dc:date>2018-10-26T21:49:29Z</dc:date>
    <item>
      <title>ambari-metrics-collector : resource_management.core.exceptions.ExecutionFailed , no space left on device</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-metrics-collector-resource-management-core-exceptions/m-p/214920#M84542</link>
      <description>&lt;P&gt;I'm trying to start  the metrics collector , but getting a strange error instead:&lt;/P&gt;&lt;PRE&gt;resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/sbin/ambari-metrics-collector --config /etc/ambari-metrics-collector/conf start' returned 1. Tue Oct 23 18:05:37 EDT 2018 Starting HBase.
starting master, logging to /disks/disk1/log/ambari-metrics-collector/hbase-ams-master-node4.hdp.com.out
/usr/lib/ams-hbase/bin/hbase-daemon.sh: line 189: /disks/disk1/log/ambari-metrics-collector/hbase-ams-master-node4.hdp.com.out: No space left on device
head: cannot open ‘/disks/disk1/log/ambari-metrics-collector/hbase-ams-master-node4.hdp.com.out’ for reading: No such file or directory
/usr/sbin/ambari-metrics-collector: line 81: /disks/disk1/run/ambari-metrics-collector/ambari-metrics-collector.pid: No space left on device
ERROR:  Cannot write pid /disks/disk1/run/ambari-metrics-collector/ambari-metrics-collector.pid.&lt;/PRE&gt;&lt;P&gt;it is complaining there is no space on device. &lt;/P&gt;&lt;P&gt;/disks/disk1/log/ambari-metrics-collector/ambari-metrics-collector.out shows the same thing:&lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file /disks/disk1/log/ambari-metrics-collector/collector-gc.log-201810231817 due to No space left on device&lt;/P&gt;&lt;P&gt;log4j:ERROR setFile(null,true) call failed.&lt;/P&gt;&lt;P&gt;java.io.FileNotFoundException: /disks/disk1/log/ambari-metrics-collector/ambari-metrics-collector.log (No space left on device)&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;but &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# df -h /disks/disk1/&lt;/P&gt;&lt;P&gt;Filesystem      Size  Used Avail Use% Mounted on&lt;/P&gt;&lt;P&gt;/dev/sdb1       4.9G  760M  &lt;STRONG&gt;4.2G&lt;/STRONG&gt;  16% /disks/disk1&lt;/P&gt;&lt;P&gt;There is clearly some space there. How much space is really needed to write the output file?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 05:44:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-metrics-collector-resource-management-core-exceptions/m-p/214920#M84542</guid>
      <dc:creator>alex_goron</dc:creator>
      <dc:date>2018-10-24T05:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-metrics-collector : resource_management.core.exceptions.ExecutionFailed , no space left on device</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-metrics-collector-resource-management-core-exceptions/m-p/214921#M84543</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/89180/alexgoron.html" nodeid="89180"&gt;@Alex
 Goron
&lt;/A&gt;&lt;P&gt;Do you see any discrepancy between the output of the following commands? Can you please share the output?&lt;/P&gt;&lt;PRE&gt;# sudo du -sh /disks/disk1/
# sudo df -h&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Are you able to make file on your own manually? (this is just to isolate the issue)&lt;/P&gt;&lt;PRE&gt;# echo "ABCDEFGH" &amp;gt; /disks/disk1/log/ambari-metrics-collector/hbase-ams-master-node4.hdp.com.out
# echo "ABCDEFGH" &amp;gt; /disks/disk1/log/ambari-metrics-collector/hbase-ams-master-node4.hdp.com.log
# echo "ABCDEFGH" &amp;gt; /disks/disk1/log/ambari-metrics-collector/hbase-ams-master-node4.hdp.com.log&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;There might be possibility that the OS still might have some Deleted File Reserved by Processes that we can find out by running the following command.&lt;/P&gt;&lt;PRE&gt;# sudo lsof / | grep deleted&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;If you find some oprocesses aer still holding up "Deleted" files then restart those processes.&lt;/P&gt;&lt;PRE&gt;# sudo systemctl restart $SERVICE_NAME&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;There is a set of metadata on filesystems called “inodes.” Inodes track information about files.&lt;/P&gt;&lt;PRE&gt;# sudo df -i /&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Also please check if there are any Bad Blocks&lt;/P&gt;&lt;PRE&gt;# sudo fsck -vcck /disks/disk1/&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;If None of the above helps the Please check if you can reboot the host where AMS is installed.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 05:50:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-metrics-collector-resource-management-core-exceptions/m-p/214921#M84543</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-24T05:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-metrics-collector : resource_management.core.exceptions.ExecutionFailed , no space left on device</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-metrics-collector-resource-management-core-exceptions/m-p/214922#M84544</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;, Thanks a lot for helping me! Aparently I ran out of inodes. Not sure why it did not occur to me to check it first place ... Anyways reformatting the filesystem and a little bit of file shuffling exercise did the trick &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 21:49:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-metrics-collector-resource-management-core-exceptions/m-p/214922#M84544</guid>
      <dc:creator>alex_goron</dc:creator>
      <dc:date>2018-10-26T21:49:29Z</dc:date>
    </item>
  </channel>
</rss>

