You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2013/10/03 17:17:49 UTC

[jira] [Created] (HDFS-5293) Symlink resolution requires unnecessary RPCs

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)