hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-4044) Create symbolic links in HDFS
Date Thu, 30 Oct 2008 19:02:47 GMT

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

Tsz Wo (Nicholas), SZE updated HADOOP-4044:

    Attachment: 4044_20081030spi.java

FsResult can be divided into two classes since there are two kind of results, Writables (e.g.
FsResult<BooleanWritable>) and non-writables (e.g. FSDataOutputStreamLink).  I suggest
the following layout:
public class FsResult<T> implements FSLinkable {

public class FsResultWritable<T extends Writable> extends FsResult<T> implements
Writable {
Methods like appendImpl(...) should return FsResult<FSDataOutputStream> and methods
like setReplication(...) should return FsResultWritable<BooleanWritable>.

Then, we don't need classes like FSDataInputStreamLink and FSDataOutputStreamLink.  We also
probably don't need FSLinkable anymore.

4044_20081030spi.java shows the complete source codes for FsResult and FsResultWritable. 
I have not removed FSLinkable yet.

> 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: 4044_20081030spi.java, HADOOP-4044-strawman.patch, symLink1.patch,
symLink1.patch, symLink11.patch, symLink4.patch, symLink5.patch, symLink6.patch, symLink8.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.

View raw message