You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Keren Ouaknine <ke...@gmail.com> on 2012/06/21 10:09:59 UTC

.eclipse.templates not found

Hello,

I am building from $PIG_HOME under Hadoop 23:
ant eclipse-files and I get the following error:
BUILD FAILED
/home/kereno/hadoop23/pig10/build.xml:301:
/home/kereno/hadoop23/pig10/.eclipse.templates not found.

I found a Jira issue 7653 with that problem, but the patch wont work for me:
[kereno@keren pig10]$ patch -p0 --dry-run < HADOOP-7653.1.patch
patching file build.xml
Hunk #1 FAILED at 1521.
Hunk #2 FAILED at 1549.
Hunk #3 FAILED at 1636.
3 out of 3 hunks FAILED -- saving rejects to file build.xml.rej

Any idea how to solve this?

Thanks,
Keren

-- 
Keren Ouaknine
Web: www.kereno.com

Re: .eclipse.templates not found

Posted by Ray golden <ra...@hotmail.com>.
Hello,Keren:

	I had meet this problem when I try to debug the cloudera version pig 0.9.2,I resolve it by copy the hadoop community version pig's eclipse.templates ,but I'm not sure it can run on pig 1.0.



5.in the pig source directory ,run: ant clean eclipse-files.then import it to eclise.if meet the problem of no dir of eclipse.template,copy it from the hadooop version of pig

if have some error prompt in eclipse for some did of that project,so need to drop it by manually in properties-->java build path-->source,then it's ok.


	I just check the svn server of pig 0.10,seems that it have this dir in community version,here is the link:


http://svn.apache.org/viewvc/pig/branches/branch-0.10/.eclipse.templates/


Ray Golden

On Jun 21, 2012, at 4:09 PM, Keren Ouaknine wrote:

> Hello,
> 
> I am building from $PIG_HOME under Hadoop 23:
> ant eclipse-files and I get the following error:
> BUILD FAILED
> /home/kereno/hadoop23/pig10/build.xml:301:
> /home/kereno/hadoop23/pig10/.eclipse.templates not found.
> 
> I found a Jira issue 7653 with that problem, but the patch wont work for me:
> [kereno@keren pig10]$ patch -p0 --dry-run < HADOOP-7653.1.patch
> patching file build.xml
> Hunk #1 FAILED at 1521.
> Hunk #2 FAILED at 1549.
> Hunk #3 FAILED at 1636.
> 3 out of 3 hunks FAILED -- saving rejects to file build.xml.rej
> 
> Any idea how to solve this?
> 
> Thanks,
> Keren
> 
> -- 
> Keren Ouaknine
> Web: www.kereno.com


Re: .eclipse.templates not found

Posted by Harsh J <ha...@cloudera.com>.
Hi,

You can't run that command unless your Pig is a checkout from the
svn/git branch of 0.10 (or tag). So instead of unpacking a release
there, do a proper checkout and then run ant eclipse-files.

On Thu, Jun 21, 2012 at 1:39 PM, Keren Ouaknine <ke...@gmail.com> wrote:
> Hello,
>
> I am building from $PIG_HOME under Hadoop 23:
> ant eclipse-files and I get the following error:
> BUILD FAILED
> /home/kereno/hadoop23/pig10/build.xml:301:
> /home/kereno/hadoop23/pig10/.eclipse.templates not found.
>
> I found a Jira issue 7653 with that problem, but the patch wont work for me:
> [kereno@keren pig10]$ patch -p0 --dry-run < HADOOP-7653.1.patch
> patching file build.xml
> Hunk #1 FAILED at 1521.
> Hunk #2 FAILED at 1549.
> Hunk #3 FAILED at 1636.
> 3 out of 3 hunks FAILED -- saving rejects to file build.xml.rej
>
> Any idea how to solve this?
>
> Thanks,
> Keren
>
> --
> Keren Ouaknine
> Web: www.kereno.com



-- 
Harsh J

Re: .eclipse.templates not found

Posted by Harsh J <ha...@cloudera.com>.
Hi,

You can't run that command unless your Pig is a checkout from the
svn/git branch of 0.10 (or tag). So instead of unpacking a release
there, do a proper checkout and then run ant eclipse-files.

On Thu, Jun 21, 2012 at 1:39 PM, Keren Ouaknine <ke...@gmail.com> wrote:
> Hello,
>
> I am building from $PIG_HOME under Hadoop 23:
> ant eclipse-files and I get the following error:
> BUILD FAILED
> /home/kereno/hadoop23/pig10/build.xml:301:
> /home/kereno/hadoop23/pig10/.eclipse.templates not found.
>
> I found a Jira issue 7653 with that problem, but the patch wont work for me:
> [kereno@keren pig10]$ patch -p0 --dry-run < HADOOP-7653.1.patch
> patching file build.xml
> Hunk #1 FAILED at 1521.
> Hunk #2 FAILED at 1549.
> Hunk #3 FAILED at 1636.
> 3 out of 3 hunks FAILED -- saving rejects to file build.xml.rej
>
> Any idea how to solve this?
>
> Thanks,
> Keren
>
> --
> Keren Ouaknine
> Web: www.kereno.com



-- 
Harsh J