Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3F8211D61 for ; Tue, 22 Apr 2014 23:48:28 +0000 (UTC) Received: (qmail 81223 invoked by uid 500); 22 Apr 2014 23:48:22 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 81119 invoked by uid 500); 22 Apr 2014 23:48:19 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 81034 invoked by uid 99); 22 Apr 2014 23:48:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 23:48:17 +0000 Date: Tue, 22 Apr 2014 23:48:17 +0000 (UTC) From: "Andrew Wang (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-6199) WebHdfsFileSystem does not treat UnresolvedLinkException 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-6199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang resolved HDFS-6199. ------------------------------- Resolution: Duplicate > WebHdfsFileSystem does not treat UnresolvedLinkException > -------------------------------------------------------- > > Key: HDFS-6199 > URL: https://issues.apache.org/jira/browse/HDFS-6199 > Project: Hadoop HDFS > Issue Type: Bug > Components: webhdfs > Affects Versions: 2.4.0 > Reporter: Gera Shegalov > Assignee: Gera Shegalov > Priority: Critical > > {{o.a.h.hdfs.web.resources.ExceptionHandler.toResponse}} does not treat {{UnresolvedLinkException}} . This implies the client-side will generate a generic {{IOException}} or an unchecked exception. > The server should return {{GONE}} that can be translated to {{FileNotFoundException}} or the actual {{UnresolvedLinkException}} if the API allows it. -- This message was sent by Atlassian JIRA (v6.2#6252)