<?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: disk full, cannot delete files because safemode is on in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125338#M22753</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;@Sagar Shimpi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;&lt;/A&gt;Thank you very much. &lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2016 17:16:20 GMT</pubDate>
    <dc:creator>lubinlemarchand</dc:creator>
    <dc:date>2016-03-14T17:16:20Z</dc:date>
    <item>
      <title>disk full, cannot delete files because safemode is on</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125335#M22750</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;It looks like i reached the memory limit for my sandbox. However i can't delete files since the Safemode is On. So i tried to turn it off manually with : &lt;/P&gt;&lt;PRE&gt;hdfs dfsadmin -safemode leave&lt;/PRE&gt;&lt;P&gt;but it makes nothing. From what i understood, it is because the memory is still full when i turn it off so the system immediatly goes back to safemode.&lt;/P&gt;&lt;P&gt;How can i delete some files? &lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 16:06:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125335#M22750</guid>
      <dc:creator>lubinlemarchand</dc:creator>
      <dc:date>2016-03-14T16:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: disk full, cannot delete files because safemode is on</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125336#M22751</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2855/lubinlemarchand.html" nodeid="2855"&gt;@Lubin Lemarchand&lt;/A&gt;&lt;P&gt;You first need to check which and all process are using more amount of memory. You can get using below command -&lt;/P&gt;&lt;P&gt;1. Issue command #top&lt;/P&gt;&lt;P&gt;2. press 'm'&lt;/P&gt;&lt;P&gt;3. check for top 2-3 processes in column '%MEM'&lt;/P&gt;&lt;P&gt;Also i will suggest to check free memory using 'free -m' command-&lt;/P&gt;&lt;P&gt;Most of the time memory us getting catched up. You can remove cache using below command -&lt;/P&gt;&lt;P&gt;#echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/P&gt;&lt;P&gt;For deleting files you can , delete all log files for hadoop located in /var/log/hadoop/&amp;lt;application-name&amp;gt;&lt;/P&gt;&lt;P&gt;Do let me know if it works.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 16:21:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125336#M22751</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-03-14T16:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: disk full, cannot delete files because safemode is on</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125337#M22752</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2855/lubinlemarchand.html" nodeid="2855"&gt;@Lubin Lemarchand&lt;/A&gt;&lt;P&gt;Go to ambari dashboard and stop the services that you don't need and turn on the maintenance mode for them.&lt;/P&gt;&lt;P&gt;then to save time, restart the vm. &lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 16:59:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125337#M22752</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-14T16:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: disk full, cannot delete files because safemode is on</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125338#M22753</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;@Sagar Shimpi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;&lt;/A&gt;Thank you very much. &lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 17:16:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125338#M22753</guid>
      <dc:creator>lubinlemarchand</dc:creator>
      <dc:date>2016-03-14T17:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: disk full, cannot delete files because safemode is on</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125339#M22754</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;P&gt;Thank you for your answer. Unfortunately i can't access ambari dashboard. For some reason, the username/password i've been using for one month doesn't work anymore. I thought it was related to this safemode thing but apparently it wasn't..&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 17:22:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/disk-full-cannot-delete-files-because-safemode-is-on/m-p/125339#M22754</guid>
      <dc:creator>lubinlemarchand</dc:creator>
      <dc:date>2016-03-14T17:22:24Z</dc:date>
    </item>
  </channel>
</rss>

