Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37B8A105DD for ; Mon, 16 Feb 2015 21:55:44 +0000 (UTC) Received: (qmail 57233 invoked by uid 500); 16 Feb 2015 21:55:39 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 57085 invoked by uid 500); 16 Feb 2015 21:55:39 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 57075 invoked by uid 99); 16 Feb 2015 21:55:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2015 21:55:39 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [217.70.183.198] (HELO relay6-d.mail.gandi.net) (217.70.183.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2015 21:55:11 +0000 Received: from mfilter30-d.gandi.net (mfilter30-d.gandi.net [217.70.178.161]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id B4773FB8C9 for ; Mon, 16 Feb 2015 22:54:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter30-d.gandi.net Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter30-d.gandi.net (mfilter30-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id X-tXzH4Pkyr4 for ; Mon, 16 Feb 2015 22:54:08 +0100 (CET) X-Originating-IP: 78.228.212.43 Received: from [192.168.0.11] (mar92-17-78-228-212-43.fbx.proxad.net [78.228.212.43]) (Authenticated sender: hadoop@ulul.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 34373FB8B1 for ; Mon, 16 Feb 2015 22:54:08 +0100 (CET) Message-ID: <54E266FF.3090300@ulul.org> Date: Mon, 16 Feb 2015 22:54:07 +0100 From: Ulul User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: user@hadoop.apache.org Subject: Re: free some space on data volume References: <54E1AFD5.9010309@vesseltracker.com> In-Reply-To: <54E1AFD5.9010309@vesseltracker.com> Content-Type: multipart/alternative; boundary="------------060103070406060602070107" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------060103070406060602070107 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Check out the two last comments for HDFS-1312 : https://issues.apache.org/jira/browse/HDFS-1312 If you can't afford to wipe out DN data and rebalance, you can try out=20 the proposed script (after non-prod testing obviously) Ulul Le 16/02/2015 09:52, Georgi Ivanov a =C3=A9crit : > Hi, > > I need to free some space on one of the data directories on one server. > I have 2 data volumes : /data/1 and /data/2 > > One of the hard drives was broken, and after we replaced it, i ran a=20 > rebalance. > The problem is i forgot to change the policy to FreeSpace (insted of=20 > default round-robin). > > So now i have only 60MB free on /data/1 , and this is where=20 > checkpoints are stored. > > So i need an advice how can i free some space only on this volume. > > Can i just delete something from > /data/1/dfs/dn/current/BP-1312742174-xxxxx-1359718879114/current/finali= zed/subdirxxx=20 > > > Thanks in advance > Georgi --------------060103070406060602070107 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi

Check out the two last comments for HDFS-1312 :
https://issues.apache.org/jira/browse/HDFS-1312<= /a>

If you can't afford to wipe out DN data and rebalance, you can try out the proposed script (after non-prod testing obviously)

Ulul
=C2=A0
Le 16/02/2015 09:52, Georgi Ivanov a =C3=A9crit=C2=A0:
Hi,

I need to free some space on one of the data directories on one server.
I have 2 data volumes : /data/1 and /data/2

One of the hard drives was broken, and after we replaced it, i ran a rebalance.
The problem is i forgot to change the policy to FreeSpace (insted of default round-robin).

So now i have only 60MB free on /data/1 , and this is where checkpoints are stored.

So i need an advice how can i free some space only on this volume.

Can i just delete something from
/data/1/dfs/dn/current/BP-1312742174-xxxxx-1359718879114/current/finalize= d/subdirxxx

Thanks in advance
Georgi

--------------060103070406060602070107--