Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 98934 invoked from network); 14 May 2010 16:58:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 May 2010 16:58:08 -0000 Received: (qmail 61124 invoked by uid 500); 14 May 2010 16:58:05 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 61067 invoked by uid 500); 14 May 2010 16:58:05 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 61059 invoked by uid 99); 14 May 2010 16:58:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 May 2010 16:58:05 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ali@joyent.com designates 64.18.3.94 as permitted sender) Received: from [64.18.3.94] (HELO exprod8og107.obsmtp.com) (64.18.3.94) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 14 May 2010 16:57:58 +0000 Received: from source ([8.12.44.6]) by exprod8ob107.postini.com ([64.18.7.12]) with SMTP ID DSNKS+2BAK39bob8rTEZX5/49IWT2pmcu07d@postini.com; Fri, 14 May 2010 09:57:37 PDT Received: from mail pickup service by ismtp.joyent.com with Microsoft SMTPSVC; Fri, 14 May 2010 09:57:50 -0700 Thread-Index: AcrzhpYvsxX2omohSS2Md4sPwERceA== Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Class: urn:content-classes:message X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Importance: normal Priority: normal In-Reply-To: References: Date: Sat, 15 May 2010 00:57:34 +0800 Message-ID: Subject: Re: Problem starting datanode inside Solaris zone From: "Alex Li" To: Content-Type: multipart/alternative; boundary="000e0cdf0ee48fd52b048690c52f" X-OriginalArrivalTime: 14 May 2010 16:57:50.0432 (UTC) FILETIME=[962F2600:01CAF386] X-Virus-Checked: Checked by ClamAV on apache.org --000e0cdf0ee48fd52b048690c52f Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" Hi Allen, Thanks for the pointer! You are dead on! This is what I got: [jill@alextest ~]$ du /storage/hadoop-jill/dfs/data/ 3 /storage/hadoop-jill/dfs/data/detach 6 /storage/hadoop-jill/dfs/data/current 3 /storage/hadoop-jill/dfs/data/tmp 18 /storage/hadoop-jill/dfs/data [jill@alextest ~]$ [jill@alextest ~]$ which du /usr/xpg4/bin/du [jill@alextest ~]$ which gdu /opt/local/bin/gdu [jill@alextest ~]$ It turns out what I got isn't the GNU du. I got it to run by doing this under /opt/local/bin: ln -s du gdu alias didn't work. hadoop must be looking for 'whch du' and use whichever if found first in the PATH. Thanks so much! My data node is now up! -alex On Sat, May 15, 2010 at 12:14 AM, Allen Wittenauer wrote: > > On May 14, 2010, at 3:27 AM, Alex Li wrote: > > I'm running it as user 'jill' and I don't even know where that > > > > "24 /tmp/hadoop-jill/dfs/data" > > > > is coming from. > > > > What am I missing? I'm very baffled :( > > It is likely coming from the output of du, which the datanode uses to > determine space. We run Hadoop on Solaris, but not in a zone so there > shouldn't be any issues there, unless Joyent is doing odd things. > > What version of Solaris and what does your output of du > /tmp/hadoop-jill/dfs/data give? [tabs vs. spaces, etc, counts!] > > > > --000e0cdf0ee48fd52b048690c52f--