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 97EA110BD0 for ; Thu, 3 Oct 2013 15:17:55 +0000 (UTC) Received: (qmail 70772 invoked by uid 500); 3 Oct 2013 15:17:50 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 70712 invoked by uid 500); 3 Oct 2013 15:17:50 -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 70472 invoked by uid 99); 3 Oct 2013 15:17:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 15:17:49 +0000 Date: Thu, 3 Oct 2013 15:17:49 +0000 (UTC) From: "Daryn Sharp (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-5293) Symlink resolution requires unnecessary RPCs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Daryn Sharp created HDFS-5293: --------------------------------- Summary: Symlink resolution requires unnecessary RPCs Key: HDFS-5293 URL: https://issues.apache.org/jira/browse/HDFS-5293 Project: Hadoop HDFS Issue Type: Improvement Components: namenode Affects Versions: 2.0.0-alpha, 3.0.0 Reporter: Daryn Sharp Priority: Critical When the NN encounters a symlink, it throws an {{UnresolvedLinkException}}. This exception contains only the path that is a symlink. The client issues another RPC to obtain the link target, followed by another RPC with the link target + remainder of the original path. {{UnresolvedLinkException}} should be returning both the link and the target to avoid a costly and unnecessary intermediate RPC to obtain the link target. -- This message was sent by Atlassian JIRA (v6.1#6144)