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 BD9DD9FCC for ; Fri, 18 May 2012 14:13:53 +0000 (UTC) Received: (qmail 40457 invoked by uid 500); 18 May 2012 14:13:52 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 40272 invoked by uid 500); 18 May 2012 14:13:51 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 40262 invoked by uid 99); 18 May 2012 14:13:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 14:13:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [212.122.43.157] (HELO datameer.com) (212.122.43.157) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 14:13:44 +0000 Received: from [192.168.178.170] (unknown [192.168.178.170]) by datameer.com (Postfix) with ESMTPSA id CC13AF00A5E for ; Fri, 18 May 2012 16:13:23 +0200 (CEST) From: Subroto Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: org.apache.hadoop.io.MapFile.Reader.Reader(FileSystem fs, String dirName, Configuration conf) constructor ignores the FileSystem Date: Fri, 18 May 2012 16:13:23 +0200 Message-Id: <455D1648-28BD-4817-B9DA-9A3AE81AB4C1@datameer.com> To: mapreduce-user@hadoop.apache.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Hi, The constructor of Reader class ignores the FileSystem parameter = provided in the constructor parameter. This results in creation of Path on the basis of default FileSystem = mentioned in the configuration even though user wants to pass = LocalFileSystem. The behavior has been verified with cdh4b2 version. Is this a correct = behavior of the API? Cheers, Subroto Sanyal=