You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by Rajitha Ranasinghe <ra...@gmail.com> on 2014/02/23 16:10:03 UTC

Problem with building latest version

Hi,

I did the followings,

1. Got the latest version from SVN.
2. mvn clean eclipse-files
3. mvn compile gen
4. Got an error Missing required library:
'build/ivy/lib/Pig/javacc-4.2.jar' pig
5. So I applied patch
https://issues.apache.org/jira/secure/attachment/12600505/PIG-3399-1.patch
6.Then I got the following errors,

The declared package "org.apache.pig.test.pigmix.datagen" does not match
the expected package
"perf.pigmix.src.java.org.apache.pig.test.pigmix.datagen"
The declared package "org.apache.pig.test.pigmix.udf" does not match the
expected package "perf.pigmix.src.java.org.apache.pig.test.pigmix.udf"
The import org.apache.pig.test.pigmix cannot be resolved
The import sdsu cannot be resolved DataGenerator.java
/trunk/test/perf/pigmix/src/java/org/apache/pig/test/pigmix/datagen
Zipf cannot be resolved to a type

Any solution?

Cheers.
---
Rajitha

Re: Problem with building latest version

Posted by Rajitha Ranasinghe <ra...@gmail.com>.
Hi Daniel,

Yes. It's working.

Thanks,
Rajitha


On Sun, Feb 23, 2014 at 11:08 PM, Daniel Dai <da...@hortonworks.com> wrote:

> Rajitha,
>
> I usually exclude e2e/**, perf/**, resources/** manually from build
> path "test". Seems it is helpful to fix it by changing
> .eclipse.templates/.classpath, would you like to try?
>
> Also even if you have some compilation error in eclipse, you can still
> run Pig without problem.
>
> Thanks,
> Daniel
>
> On Sun, Feb 23, 2014 at 7:10 AM, Rajitha Ranasinghe
> <ra...@gmail.com> wrote:
> > Hi,
> >
> > I did the followings,
> >
> > 1. Got the latest version from SVN.
> > 2. mvn clean eclipse-files
> > 3. mvn compile gen
> > 4. Got an error Missing required library:
> > 'build/ivy/lib/Pig/javacc-4.2.jar' pig
> > 5. So I applied patch
> >
> https://issues.apache.org/jira/secure/attachment/12600505/PIG-3399-1.patch
> > 6.Then I got the following errors,
> >
> > The declared package "org.apache.pig.test.pigmix.datagen" does not match
> > the expected package
> > "perf.pigmix.src.java.org.apache.pig.test.pigmix.datagen"
> > The declared package "org.apache.pig.test.pigmix.udf" does not match the
> > expected package "perf.pigmix.src.java.org.apache.pig.test.pigmix.udf"
> > The import org.apache.pig.test.pigmix cannot be resolved
> > The import sdsu cannot be resolved DataGenerator.java
> > /trunk/test/perf/pigmix/src/java/org/apache/pig/test/pigmix/datagen
> > Zipf cannot be resolved to a type
> >
> > Any solution?
> >
> > Cheers.
> > ---
> > Rajitha
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>

Re: Problem with building latest version

Posted by Daniel Dai <da...@hortonworks.com>.
Rajitha,

I usually exclude e2e/**, perf/**, resources/** manually from build
path "test". Seems it is helpful to fix it by changing
.eclipse.templates/.classpath, would you like to try?

Also even if you have some compilation error in eclipse, you can still
run Pig without problem.

Thanks,
Daniel

On Sun, Feb 23, 2014 at 7:10 AM, Rajitha Ranasinghe
<ra...@gmail.com> wrote:
> Hi,
>
> I did the followings,
>
> 1. Got the latest version from SVN.
> 2. mvn clean eclipse-files
> 3. mvn compile gen
> 4. Got an error Missing required library:
> 'build/ivy/lib/Pig/javacc-4.2.jar' pig
> 5. So I applied patch
> https://issues.apache.org/jira/secure/attachment/12600505/PIG-3399-1.patch
> 6.Then I got the following errors,
>
> The declared package "org.apache.pig.test.pigmix.datagen" does not match
> the expected package
> "perf.pigmix.src.java.org.apache.pig.test.pigmix.datagen"
> The declared package "org.apache.pig.test.pigmix.udf" does not match the
> expected package "perf.pigmix.src.java.org.apache.pig.test.pigmix.udf"
> The import org.apache.pig.test.pigmix cannot be resolved
> The import sdsu cannot be resolved DataGenerator.java
> /trunk/test/perf/pigmix/src/java/org/apache/pig/test/pigmix/datagen
> Zipf cannot be resolved to a type
>
> Any solution?
>
> Cheers.
> ---
> Rajitha

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.