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

Doug Cutting commented on HADOOP-4044:
--------------------------------------

> Here the author is distinguishing between declared and undeclared - but the 
> point is that declared exceptions are okay for recoverable conditions.

Unfortunately that is not the question here.  He, among many others, says not 
to use exceptions for normal control flow.  Links in a filesystem are normal.  
They are not conditions out of the control of the code in question.

> otherwise all the interfaces and code would have become unclean.

What does 'unclean' mean?  The interfaces should reflect their function.  We're 
making a fundamental change to these interfaces.  The return types of all of 
these operations must change.  We could implement a return type change with 
exceptions or thread locals.  Either would require fewer changes to the code, 
but both would be terrible programming style.  We need to suck it up and change 
the return types consistently to reflect the change in semantics.  Let's not 
call something 'unclean' just because it is more work.


> 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.

Reply via email to