[ 
https://issues.apache.org/jira/browse/HDFS-15535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17180280#comment-17180280
 ] 

Íñigo Goiri commented on HDFS-15535:
------------------------------------

Thanks [~ayushtkn] for the new patch.
I'm not sure of the value of {{setInvokeLocation()}}, it should be static and 
personally, I would just do it in {{invokeSequential()}}.
In any case, I'm in the border returning the loc as a parameter; a little hard 
to follow without context.
What about a new invokeSequential that return the loc too?
Then we can have the old invokeSequential() API which just discards that part 
of the return of the new method.

> RBF: Fix Namespace path to snapshot path resolution for snapshot API
> --------------------------------------------------------------------
>
>                 Key: HDFS-15535
>                 URL: https://issues.apache.org/jira/browse/HDFS-15535
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-15535-01.patch, HDFS-15535-02.patch
>
>
> Presently, after invoking {{createSnapshot}} and {{getSnapshotListing}}, the 
> namespace path is replaced with mount path.
>  This presumes as of now that, the invokedLocation shall always be the first 
> one in the sequence, but there are multiple reasons, where the directory 
> might not be in the first location.
>  So, rather than replacing using firstLocation, we should replace path using 
> actual invoked Location.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to