hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yujun Wu <yu...@phys.ufl.edu>
Subject Re: How to patch Hadoop 0.20.2 with symbolic links patch
Date Fri, 16 Jul 2010 17:07:57 GMT
Hello Eli,

Thanks a lot for your info. I will try with the 0.21 release then.


Regards,
Yujun
On Fri, 16 Jul 2010, Eli Collins wrote:

> 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 <yujun@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
> >
> >
> >
> 


Mime
View raw message