Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F14DD2E8 for ; Mon, 22 Oct 2012 03:56:13 +0000 (UTC) Received: (qmail 61088 invoked by uid 500); 22 Oct 2012 03:56:13 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 61044 invoked by uid 500); 22 Oct 2012 03:56:12 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 60757 invoked by uid 99); 22 Oct 2012 03:56:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 03:56:12 +0000 Date: Mon, 22 Oct 2012 03:56:12 +0000 (UTC) From: "Ivan Mitic (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <213875308.8364.1350878172685.JavaMail.jiratomcat@arcas> In-Reply-To: <306078970.155459.1349201708797.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HADOOP-8872) FileSystem#length returns zero for symlinks on windows+java6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Mitic updated HADOOP-8872: ------------------------------- Status: Patch Available (was: Open) > FileSystem#length returns zero for symlinks on windows+java6 > ------------------------------------------------------------ > > Key: HADOOP-8872 > URL: https://issues.apache.org/jira/browse/HADOOP-8872 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 1-win > Reporter: Ivan Mitic > Assignee: Ivan Mitic > Attachments: HADOOP-8872.branch-1-win.symlink0.patch > > > RawLocalFileSystem does not work well with symbolic links on Windows. Specifically, calling FileSystem#lengh on the path that is a symlink will return zero. This causes problems in some objects that use LocalFileSystem to access local files. One example is a SequenceFile. > The issue is caused by Java6 File#length returning zero for symbolic links on Windows. On Java7, we will no longer have this problem. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira