Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 5B30711BF0 for ; Sun, 24 Aug 2014 12:13:39 +0000 (UTC) Received: (qmail 24547 invoked by uid 500); 24 Aug 2014 12:13:38 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 24493 invoked by uid 500); 24 Aug 2014 12:13:38 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 24482 invoked by uid 99); 24 Aug 2014 12:13:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2014 12:13:38 +0000 Date: Sun, 24 Aug 2014 12:13:38 +0000 (UTC) From: "jay vyas (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6935) RawLocalFileSystem::supportsSymLinks is confusing 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/HDFS-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108407#comment-14108407 ] jay vyas commented on HDFS-6935: -------------------------------- I beleive this should this be a Hadoop-common bug ? as it's not related to hdfs specifically... > RawLocalFileSystem::supportsSymLinks is confusing > -------------------------------------------------- > > Key: HDFS-6935 > URL: https://issues.apache.org/jira/browse/HDFS-6935 > Project: Hadoop HDFS > Issue Type: Bug > Components: symlinks > Affects Versions: 2.5.0, 2.6.0 > Reporter: Gopal V > > {code} > ... > @Override > public boolean supportsSymlinks() { > return true; > } > @SuppressWarnings("deprecation") > @Override > public void createSymlink(Path target, Path link, boolean createParent) > throws IOException { > if (!FileSystem.areSymlinksEnabled()) { > throw new UnsupportedOperationException("Symlinks not supported"); > } > ... > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)