Hey Yujun,

Symbolic links involves a number of patches. These patches have a
number of dependencies on code in trunk (eg FileContext) so applying
to 20.2 would be a lot of work.  Symbolic links are in the first
release candidate of the 21 release so probably best to check it out
if you need symlinks:

http://people.apache.org/~tomwhite/hadoop-0.21.0-candidate-0/

Thanks,
Eli



On Fri, Jul 16, 2010 at 7:20 AM, Yujun Wu <yu...@phys.ufl.edu> wrote:
> Hello,
>
> I am new to hadoop. Recently, I installed Hadoop 0.20.2 and it works. I
> tried to patch it with the  symbolic links patch by Eli (Mr. Eli Collins):
>
> https://issues.apache.org/jira/browse/HDFS-245
>
> (symlink41-hdfs.patch)
>
> I always got the error with missing Hdfs.java. This is what I did:
>
>>cd $HADOOP_HOME
>
>>patch -p0 < ../../patches/symlink41-hdfs.patch
>
> can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git src/java/org/apache/hadoop/fs/Hdfs.java
> src/java/org/apache/hadoop/fs/Hdfs.java
> |index 5d4dd41..905fea7 100644
> |--- src/java/org/apache/hadoop/fs/Hdfs.java
> |+++ src/java/org/apache/hadoop/fs/Hdfs.java
> --------------------------
> File to patch:
>
> -------------------------------------------------------
>
> Am I missing something here?
>
> Thanks in advance for any info you give.
>
>
> Regards,
> Yujun
>
>
>

Reply via email to