hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4044) Create symbolic links in HDFS
Date Tue, 07 Oct 2008 21:48:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637667#action_12637667
] 

Raghu Angadi commented on HADOOP-4044:
--------------------------------------

> Do you agree with this assumption, or do you feel we should examine it more?

I agree with assumption. I was only wondering why we are ok with compromise in one aspect
and not about the other.

> I thought the point of contention is not the name of the method or return value but whether
to use an exception or a data structure to pass the return value. (That pseudo code also referred
to FileHandle, which is also not in the patch.)

For me at least, the issue was returning something that does not suite the api. If we have
a member called 'getNextLinkOrOpen()' that returns next link or opens a file.. it makes perfect
sense. My objection has been calling it open() and returning link some times.

Though I don't like the new names, +1 for current patch if the names of the members is changed
to reflect what it does. This also allows HDFS to use exceptions since we don't want to change
the names.



> Create symbolic links in HDFS
> -----------------------------
>
>                 Key: HADOOP-4044
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4044
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>         Attachments: symLink1.patch, symLink1.patch, symLink4.patch, symLink5.patch,
symLink6.patch, symLink8.patch, symLink9.patch
>
>
> HDFS should support symbolic links. A symbolic link is a special type of file that contains
a reference to another file or directory in the form of an absolute or relative path and that
affects pathname resolution. Programs which read or write to files named by a symbolic link
will behave as if operating directly on the target file. However, archiving utilities can
handle symbolic links specially and manipulate them directly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message