hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10745) Directly resolve paths into INodesInPath
Date Sat, 24 Sep 2016 00:58:21 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zhe Zhang updated HDFS-10745:
-----------------------------
    Attachment: HDFS-10745-branch-2.7.03.patch

A little embarrassing that I had to do more versions of the branch-2.7 patch than the original
one :(

So in v2 patch I made 2 mistakes:
# In a few places I used {{dir.resolvePath(pc, src)}} instead of {{dir.resolvePath(pc, src,
fileId)}}
# In one other place I missed the change of reassigning the value of {{src = iip.getPath()}}.
Turns out that even if {{iip}} is resolved from {{src}}, its path could be different from
{{src}}

> Directly resolve paths into INodesInPath
> ----------------------------------------
>
>                 Key: HDFS-10745
>                 URL: https://issues.apache.org/jira/browse/HDFS-10745
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 2.8.0, 3.0.0-alpha1
>
>         Attachments: HDFS-10745-branch-2.7.01.patch, HDFS-10745-branch-2.7.02.patch,
HDFS-10745-branch-2.7.03.patch, HDFS-10745-branch-2.7.patch, HDFS-10745.2.patch, HDFS-10745.branch-2.patch,
HDFS-10745.patch
>
>
> The intermediate resolution to a string, only to be decomposed by {{INodesInPath}} back
into a byte[][] can be eliminated by resolving directly to an IIP.  The IIP will contain the
resolved path if required.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message