Return-Path: Delivered-To: apmail-mahout-user-archive@www.apache.org Received: (qmail 17337 invoked from network); 3 Feb 2011 04:30:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 04:30:39 -0000 Received: (qmail 9363 invoked by uid 500); 3 Feb 2011 04:30:38 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 9180 invoked by uid 500); 3 Feb 2011 04:30:36 -0000 Mailing-List: contact user-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mahout.apache.org Delivered-To: mailing list user@mahout.apache.org Received: (qmail 9172 invoked by uid 99); 3 Feb 2011 04:30:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 04:30:35 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lsingh.969@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-iw0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 04:30:28 +0000 Received: by iwn6 with SMTP id 6so691036iwn.1 for ; Wed, 02 Feb 2011 20:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=dZk9EgoxEJ9QEm0vZkXzdIX7eGyGpa0T8zSNP4T6UmI=; b=osPPTlq4BUW8YR2YTn7yDhLMMoxggJacwoJchrv4EfQKq58mO1SwMRK2F/AxH8k7SM tmD2AWF4jx4IApYvJAunq951TWYZzlqO8rzbEN9WDnFAbIEchLAk7Tjd1kzPfF5uSTtZ yJ+TlRaw1kvFXvBPEW087spXNRJkGtu1VY8n8= 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 :cc:content-type; b=bf/kG4B2ejMKN7eq4yRzKwsRIkhPaU5B+JuAsg/xPjMV8OGM4Viz7xkHay/XEyMWQV paMS9jdn28A3wkdzmBycKqST5RG61nYZUV0WWgaHeFJ7+DfnlVenq9wHZeRKEYke3I1W BxSJtm4K3ybYJeE4vr3QSZSZPl4sFoDWD2r+U= MIME-Version: 1.0 Received: by 10.231.205.132 with SMTP id fq4mr11049073ibb.17.1296707408308; Wed, 02 Feb 2011 20:30:08 -0800 (PST) Received: by 10.231.30.66 with HTTP; Wed, 2 Feb 2011 20:30:08 -0800 (PST) In-Reply-To: References: Date: Thu, 3 Feb 2011 10:00:08 +0530 Message-ID: Subject: Need help: beginner From: Lokendra Singh To: sharathjagannath@gmail.com Cc: user@mahout.apache.org Content-Type: multipart/alternative; boundary=90e6ba4fc3a0732978049b5938e4 --90e6ba4fc3a0732978049b5938e4 Content-Type: text/plain; charset=ISO-8859-1 Hi, For HDFS related operations, instead of java.io.File (local), you should use org.apache.hadoop.fs.FileSystem class. It supports all the file-related methods which you need like mkdirs(), create(), exists() etc. ** Regards Lokendra --90e6ba4fc3a0732978049b5938e4--