Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 32001 invoked from network); 12 Aug 2009 03:42:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Aug 2009 03:42:54 -0000 Received: (qmail 65447 invoked by uid 500); 12 Aug 2009 03:42:59 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 65366 invoked by uid 500); 12 Aug 2009 03:42:58 -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 65356 invoked by uid 99); 12 Aug 2009 03:42:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 03:42:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pareekash@gmail.com designates 209.85.222.189 as permitted sender) Received: from [209.85.222.189] (HELO mail-pz0-f189.google.com) (209.85.222.189) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 03:42:49 +0000 Received: by pzk27 with SMTP id 27so4162366pzk.2 for ; Tue, 11 Aug 2009 20:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=W6USz5Gve9c7UjOsyFnS2uv7eSG7uKbaUzcqAGlxxM8=; b=o72qHzqPWCcWJfPHyykcN82aQnrIFqp772k79ZmEJAZfhoT6aVGOrgcSCYL0T3Atbn gkrpKFgt6mSsBNnI6IjbXE0a5dT4q7BYS8SziyL0ZDHIqL7RU20AGHsQg9fScVuIrMLG mwCovz/3jd4T0qqmK5iNbku4I7mS/ngfTH6po= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=r7dFSHkMl3Ffqi4x8Ah0saX6plOMewLeQje4eBYcmcBNn41yyF5FiCCeGatnISKdQk SMpkjTPwrQMxOEjz5DbnGW/8QegUUS23V6oU/bOspiLRMmKzE++qKtEQewobjgA2Vf3W VRGLz0NcneFnAe15Y+qpoLFwTT6KtqT98Jjfw= MIME-Version: 1.0 Received: by 10.114.27.15 with SMTP id a15mr9354959waa.16.1250048543660; Tue, 11 Aug 2009 20:42:23 -0700 (PDT) In-Reply-To: <4A81B246.4060001@yahoo-inc.com> References: <45d9159d0908102230k4627b999w474281f2db0f98fa@mail.gmail.com> <4A81B246.4060001@yahoo-inc.com> Date: Wed, 12 Aug 2009 09:12:23 +0530 Message-ID: <45d9159d0908112042h3e049661v1ed088ca547a3af5@mail.gmail.com> Subject: Re: Question on file HDFS file system From: ashish pareek To: common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001636417859659c720470e99bda X-Virus-Checked: Checked by ClamAV on apache.org --001636417859659c720470e99bda Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Everybody, I am already tracing through source code and trying to figure out things. Any way thanks for all your suggestions. Regards, Ashish On Tue, Aug 11, 2009 at 11:32 PM, Jakob Homan wrote: > Hey Ashish- > In terms of how overall design architecture of HDFS, I would point you to > the project documentation: > http://hadoop.apache.org/common/docs/current/hdfs_design.html > For specific data structures, your first stop should be the INode class and > its extending classes, located in > src/java/org/apache/hadoop/hdfs/server/namenode/INode.java (also > INodeDirectory, INodeFile, etc.) Looking at how the fsimage file is laid > out FSImage:LoadFSImage or the OfflineImageViewer classes. > > Hope this helps. > > -Jakob Homan > HDFS/Yahoo! > > > ashish pareek wrote: > >> Hi Everybody, >> >> I would like to understand HDFS source code. But basic >> question I want to ask is what type of data-structure does HDFS use to >> store >> INode information. I am interested in knowing what code of HDFS is >> responsible with meta-data info of files. >> Please can some HDFS-Guru throw some light on this topic and suggest some >> way how to understand HDFS source code. :) >> >> Regards, >> Ashish >> >> > --001636417859659c720470e99bda--