Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 03388FB95 for ; Thu, 18 Apr 2013 05:52:00 +0000 (UTC) Received: (qmail 97060 invoked by uid 500); 18 Apr 2013 05:51:55 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 96960 invoked by uid 500); 18 Apr 2013 05:51:54 -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 96929 invoked by uid 99); 18 Apr 2013 05:51:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 05:51:53 +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 (athena.apache.org: domain of project.linux.proj@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vc0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 05:51:49 +0000 Received: by mail-vc0-f172.google.com with SMTP id gd11so2061723vcb.31 for ; Wed, 17 Apr 2013 22:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=dfCCzSQ9o7ZQ/drsrX0ezRBNkribC1d12P8LHr+Ah4g=; b=ALbKxdGCR82MUb0IT6ZK3QprJPoBiQL6NYXCcyO4IVCgvdBBYsWDRAydT26fc2CLTw IZMDY6rCUV94VneUXomB9iBWiya0TEBToEyvwpU2EWk/xEgtfFsibsnHBy2oyh4hK5mD vmHoVVEV2GdUQrFr3A2bGFaI5A0BYYrJUbGX1wmdoOk9xCKfqiRJ7s8ihbSBYXxc460Y Gbk7ird4OsP/lBqTRKW4kOFRUL+/R/UgwGjoMYTnjc08I9w/O7mY5XRGY4qzF3LpLEXY gMoXVZoGGZ+dhV8DE1sfla5giG2dn6/Oc8uZyLO8edSS4+pJfK4r9IkUnLMCxa8TondE IJmA== MIME-Version: 1.0 X-Received: by 10.220.113.204 with SMTP id b12mr7169501vcq.43.1366264288531; Wed, 17 Apr 2013 22:51:28 -0700 (PDT) Received: by 10.58.43.226 with HTTP; Wed, 17 Apr 2013 22:51:28 -0700 (PDT) Date: Thu, 18 Apr 2013 11:21:28 +0530 Message-ID: Subject: change cache path From: Mohit Vadhera To: "" Content-Type: multipart/alternative; boundary=047d7b34308896599304da9c313b X-Virus-Checked: Checked by ClamAV on apache.org --047d7b34308896599304da9c313b Content-Type: text/plain; charset=ISO-8859-1 Hi, I want to change cache path because i don't have much space in my root / fs. I want to change path for hadoop cache files to be create on external drives. It is standalone hadoop cluster and it is running more than a year. I want the changes so that it should not effect the running machine. I don't want to format hdfs also. Below is the configuration. Can i give any path and restart the services ? dfs.replication 1 dfs.safemode.extension 0 dfs.safemode.min.datanodes 1 hadoop.tmp.dir /var/lib/hadoop-hdfs/cache/${user.name} dfs.namenode.name.dir /var/lib/hadoop-hdfs/cache/${user.name}/dfs/name dfs.namenode.checkpoint.dir /var/lib/hadoop-hdfs/cache/${user.name }/dfs/namesecondary dfs.datanode.data.dir /mnt/san1/hdfs/${user.name}/dfs/data,/mnt/san2/hdfs/${user.name }/dfs/data,/mnt/san3/hdfs/${user.name}/dfs/data,/mnt/san4/hdfs/${user.name }/dfs/data dfs.permissions.supergroup hadmin Thanks, --047d7b34308896599304da9c313b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

I want to change cache path bec= ause i don't have much space in my root / fs. I want to change path for= hadoop cache files to be create on external drives. It is standalone hadoo= p cluster and it is running more than a year. I want the changes so that it= should not effect the running machine. I don't want to format hdfs als= o. Below is the configuration. Can i give any path and restart the services= ?

<configuration>
=A0 <property>
=A0=A0=A0 <name>= dfs.replication</name>
=A0=A0=A0 <value>1</value>
= =A0 </property>
=A0 <!-- Immediately exit safemode as soon as o= ne DataNode checks in.
=A0=A0=A0=A0=A0=A0 On a multi-node cluster, these configurations must be re= moved.=A0 -->
=A0 <property>
=A0=A0=A0 <name>dfs.safem= ode.extension</name>
=A0=A0=A0 <value>0</value>
=A0= </property>
=A0 <property>
=A0=A0=A0=A0 <name>dfs.safemode.min.datanodes</name>
=A0=A0= =A0=A0 <value>1</value>
=A0 </property>
=A0 <pro= perty>
=A0=A0=A0=A0 <name>hadoop.tmp.dir</name>
=A0=A0= =A0=A0 <value>/var/lib/hadoop-hdfs/cache/${user.name}</value>
=A0 </property>
=A0 <property>
=A0=A0=A0=A0 <name>d= fs.namenode.name.dir</name>
=A0=A0=A0=A0 <value>/var/lib/had= oop-hdfs/cache/${user.name}/dfs/name</v= alue>
=A0 </property>
=A0 <property>
=A0=A0=A0=A0 <name>dfs.namenode.checkpoint.di= r</name>
=A0=A0=A0=A0 <value>/var/lib/hadoop-hdfs/cache/${user.name}/dfs/namesecondary</value>=A0 </property>
=A0 <property>
=A0=A0=A0=A0 <name>dfs.datanode.data.dir</= name>
<!--=A0=A0=A0=A0 <value>/var/lib/hadoop-hdfs/cache/${<= a href=3D"http://user.name">user.name}/dfs/data</value> -->=A0 <value>/mnt/san1/hdfs/${user.name}/dfs/data,/mnt/san2/hdfs/${user.name}/d= fs/data,/mnt/san3/hdfs/${user.name}/dfs/da= ta,/mnt/san4/hdfs/${user.name}/dfs/data<= ;/value>
=A0 </property>
=A0 <property>
=A0=A0=A0=A0=A0 <name&g= t;dfs.permissions.supergroup</name>
=A0=A0=A0=A0=A0 <value>h= admin</value>
=A0 </property>
</configuration>
<= br>
Thanks,

--047d7b34308896599304da9c313b--