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 ADD5C10958 for ; Mon, 8 Jul 2013 03:41:03 +0000 (UTC) Received: (qmail 78376 invoked by uid 500); 8 Jul 2013 03:40:57 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 78015 invoked by uid 500); 8 Jul 2013 03:40:57 -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 78008 invoked by uid 99); 8 Jul 2013 03:40:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jul 2013 03:40:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of azuryyyu@gmail.com designates 209.85.128.182 as permitted sender) Received: from [209.85.128.182] (HELO mail-ve0-f182.google.com) (209.85.128.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jul 2013 03:40:51 +0000 Received: by mail-ve0-f182.google.com with SMTP id ox1so3116756veb.41 for ; Sun, 07 Jul 2013 20:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5IlmaoaZpIqGdsb+yBIgTjn4bf4U0kaxfQANj7+4bBg=; b=DKgbpDzE65xRA3OkB5l/MXLHMhuDPftgOhwDtUUZlzqMLkTQlRx2e1K2fZufoZnEuf Awj+pcSepHzws4PGJJUK7R34xglK9TyC1Wo4wP6/Jx5Q85VHANsNIg+dkFw/sd9ivHoH 83CDoqS/Zo8ztmzoG7OK+kIeBAGGY+jXKOqJzeJ/yKp+Q8h7Yp7rYsy1QC/5Eu/RSLa/ VIWVOzThB3WM11VXf/NBdyrx4S/uLSS7hL+6u2g7DYkT2bg0f/lJraMxaUjKXvPih8tY 6JlLZZFdiD0d+7ol6x2dCXLS6QsJVV1yAmdjtf/uXsD0L3qniTag3KPYn7ujxKPtRksc bHoQ== MIME-Version: 1.0 X-Received: by 10.52.34.234 with SMTP id c10mr10752696vdj.97.1373254830360; Sun, 07 Jul 2013 20:40:30 -0700 (PDT) Received: by 10.220.250.209 with HTTP; Sun, 7 Jul 2013 20:40:30 -0700 (PDT) Date: Mon, 8 Jul 2013 11:40:30 +0800 Message-ID: Subject: Can I move block data directly? From: Azuryy Yu To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=20cf307c9df6598f2604e0f7ce30 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307c9df6598f2604e0f7ce30 Content-Type: text/plain; charset=ISO-8859-1 Hi Dear all, There are some unbalanced data nodes in my cluster, some nodes reached more than 95% disk usage. so Can I move some block data from one node to another node directly? such as: from n1 to n2: 1) scp /data/xxxx/blk_* n2:/data/subdir11/ 2) rm -rf data/xxxx/blk_* 3) hadoop-dameon.sh stop datanode (on n1) 4) hadoop-damon.sh start datanode(on n1) 5) hadoop-dameon.sh stop datanode (on n2) 6) hadoop-damon.sh start datanode(on n2) Am I right? Thanks for any input. --20cf307c9df6598f2604e0f7ce30 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Dear all,
=A0
There are some u= nbalanced data nodes in my cluster, some nodes reached more than 95% disk u= sage.
=A0
so Can I move some block data from one node t= o another node directly?
=A0
such as: from n1 to n2:
=A0
1)=A0scp= /data/xxxx/blk_*=A0=A0 n2:/data/subdir11/
2) rm -rf data/xxxx/bl= k_*
3) hadoop-dameon.sh stop datanode (on n1)
4) hadoop= -damon.sh start datanode(on n1)
5) hadoop-dameon.sh stop datanode (on n2)
6) hadoop-dam= on.sh start datanode(on n2)
=A0
Am I right? Thanks for = any input.
=A0
=A0
--20cf307c9df6598f2604e0f7ce30--