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 A715F104CE for ; Sun, 28 Jul 2013 20:21:48 +0000 (UTC) Received: (qmail 14682 invoked by uid 500); 28 Jul 2013 20:21:48 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 14648 invoked by uid 500); 28 Jul 2013 20:21:48 -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 14639 invoked by uid 99); 28 Jul 2013 20:21:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Jul 2013 20:21:48 +0000 Date: Sun, 28 Jul 2013 20:21:48 +0000 (UTC) From: "Andrew Wang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-9783) Fix OS detection for RawLocalFileSystem#getFileLinkStatus fallback path 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-9783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HADOOP-9783: -------------------------------- Attachment: hadoop-9783-1.patch Patch attached. I made RLFS do positive rather than negative detection when determining whether to use the new and improved code path. Also took the opportunity to clean up the OS detection code in {{Shell}}, since we were doing it twice. > Fix OS detection for RawLocalFileSystem#getFileLinkStatus fallback path > ----------------------------------------------------------------------- > > Key: HADOOP-9783 > URL: https://issues.apache.org/jira/browse/HADOOP-9783 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 3.0.0, 2.3.0 > Reporter: Andrew Wang > Assignee: Andrew Wang > Attachments: hadoop-9783-1.patch > > > HADOOP-9652 calls out to {{stat(1)}} on supported platforms to get additional file metadata and handle symlinks. The old, incorrect fallback path was left in for unsupported platforms. However, the fallback is currently only in place for Windows; let's make it for any unsupported platform (e.g. Mac). -- 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