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 A520910C3E for ; Fri, 4 Dec 2015 11:17:11 +0000 (UTC) Received: (qmail 69956 invoked by uid 500); 4 Dec 2015 11:17:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 69870 invoked by uid 500); 4 Dec 2015 11:17:11 -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 69665 invoked by uid 99); 4 Dec 2015 11:17:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2015 11:17:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0FC4A2C1F70 for ; Fri, 4 Dec 2015 11:17:11 +0000 (UTC) Date: Fri, 4 Dec 2015 11:17:11 +0000 (UTC) From: "Rakesh R (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9472) concat() API does not resolve the .reserved 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/HDFS-9472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041433#comment-15041433 ] Rakesh R commented on HDFS-9472: -------------------------------- Thanks [~umamaheswararao] for the suggestions. If this is designed intentionally, then IMHO would be good to throw InvalidPathException to the callers instead of FNFException. How about something like, {code} if (FSDirectory.isReservedRawName(target) && FSDirectory.isReservedInodesName(target)) { throw new InvalidPathException(target); } // Also, will validate srcs... {code} > concat() API does not resolve the .reserved path > ------------------------------------------------ > > Key: HDFS-9472 > URL: https://issues.apache.org/jira/browse/HDFS-9472 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Rakesh R > Assignee: Rakesh R > Attachments: HDFS-9472-00.patch > > > dfs#concat() API doesn't resolve the {{/.reserved/raw}} path. For example, if the input paths of the form {{/.reserved/raw/ezone/a}} then this API doesn't work properly. IMHO will discuss here to support this behavior. -- This message was sent by Atlassian JIRA (v6.3.4#6332)