Re: How to apply Patch

2011-03-31 Thread Adarsh Sharma
Thanks Steve , U helped me to clear my doubts several times. I explain U What my Problem is : I am trying to run *wordcount-nopipe.cc* program in */home/hadoop/project/hadoop-0.20.2/src/examples/pipes/impl* directory. I am able to run a simple wordcount.cpp program in Hadoop Cluster but whebn

Re: How to apply Patch

2011-03-31 Thread Steve Loughran
On 31/03/11 07:37, Adarsh Sharma wrote: Thanks a lot for such deep explanation : I have done it now, but it doesn't help me in my original problem for which I'm doing this. Please if you have some idea comment on it. I attached the problem. Sadly. Matt's deep explanation is what you need, lo

Re: How to apply Patch

2011-03-30 Thread Adarsh Sharma
Thanks a lot for such deep explanation : I have done it now, but it doesn't help me in my original problem for which I'm doing this. Please if you have some idea comment on it. I attached the problem. Thanks & best Regards, Adarsh Sharma Matthew Foley wrote: Hi Adarsh, see if the inform

Re: How to apply Patch

2011-03-30 Thread Amareshwari Sri Ramadasu
Adarsh, Your command should be : patch -p0 < fix-test-pipes.patch See http://wiki.apache.org/hadoop/HowToContribute for details on how to contribute. Thanks Amareshwari On 3/31/11 9:54 AM, "Adarsh Sharma" wrote: Thanks Harsh, I am trying the patch command but below error exists : [root@ws-t

Re: How to apply Patch

2011-03-30 Thread Matthew Foley
Hi Adarsh, see if the information at http://wiki.apache.org/hadoop/HowToContribute is helpful to you. I'll walk you thru the typical process, but first a couple questions: Did you get a tar file for the whole source tree of Hadoop, or only the binary distribution? To apply patches you must ge

Re: How to apply Patch

2011-03-30 Thread Adarsh Sharma
Thanks Harsh, I am trying the patch command but below error exists : [root@ws-test project]# patch hadoop-0.20.2 fix-test-pipes.patch patch: File hadoop-0.20.2 is not a regular file -- can't patch [root@ws-test project]# patch -R hadoop-0.20.2 fix-test-pipes.patch patch: File hadoop-0.

Re: How to apply Patch

2011-03-30 Thread Harsh J
There is a utility available for Unix called 'patch'. You can use that with a suitable -p(num) argument (man patch, for more info). On Thu, Mar 31, 2011 at 9:41 AM, Adarsh Sharma wrote: > Dear all, > > Can Someone Please tell me how to apply a patch on hadoop-0.20.2 package. > > I attached the pa

Re: How to apply Patch

2011-03-30 Thread Adarsh Sharma
Sorry, Just check the attachment now. Adarsh Sharma wrote: Dear all, Can Someone Please tell me how to apply a patch on hadoop-0.20.2 package. I attached the patch. Please find the attachment. I just follow below steps for Hadoop : 1. Download Hadoop-0.20.2.tar.gz 2. Extract the file. 3. Set

How to apply Patch

2011-03-30 Thread Adarsh Sharma
Dear all, Can Someone Please tell me how to apply a patch on hadoop-0.20.2 package. I attached the patch. Please find the attachment. I just follow below steps for Hadoop : 1. Download Hadoop-0.20.2.tar.gz 2. Extract the file. 3. Set Configurations in site.xml files Thanks & best Regards, Adar