You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by Serega Sheypak <se...@gmail.com> on 2015/06/01 17:10:52 UTC
Re: HowTo build pig
Hi, please help...
2015-05-18 1:12 GMT+03:00 Serega Sheypak <se...@gmail.com>:
> Ok, so I can share how to configure ivyIDEA for comfortable work with pig
> project in Idea
>
> ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar
>
> [javac] error: cannot access InterfaceAudience
> [javac] class file for
> org.apache.hadoop.hbase.classification.InterfaceAudience not found
> [javac] 1 error
>
> what it could be?
>
>
>
> 2015-05-17 15:01 GMT+03:00 Serega Sheypak <se...@gmail.com>:
>
>> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig stuff?
>> Don't understand the way:
>> 1. poject should be imported to JIdea
>> 2. howTo pass properties like hadoopversion and hbaseversion?
>>
>>
>> 2015-05-15 22:23 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
>>
>>> Rohini wrote:
>>> > Updated the compilation and unit tests section in
>>> > https://cwiki.apache.org/confluence/display/PIG/HowToContribute.
>>> > Hope that answers all the questions.
>>> > Let me know if something is still not clear.
>>>
>>> Thanks for your helpful clarifications for newbies.
>>>
>>>
>>> Michael
>>>
>>
>>
>
Re: HowTo build pig
Posted by Serega Sheypak <se...@gmail.com>.
Got it, I've found a way how to make JIdea ant/ivy plugins to work with pig
source code. It's not a problem. Eclipse import is easier than mine. I'll
try it next time.
Right now I just can't build project using command line.
Which java you use? I'm using oracle-jdk-8
2015-06-01 23:11 GMT+03:00 Mohit Sabharwal <mo...@cloudera.com>:
> Hi Seraga,
>
> I struggled a bit as well when trying to get Intellij to resolve
> dependencies for Pig. The trick that worked for me was to:
> 1) Run "ant -Dhadoopversion=23 eclipse-files" first
> 2) Import Pig as an Eclipse project (in the "Import project from external
> model" option)
>
> After importing, you can setup an "Ant build" Run Configuration with the
> required build options ( add -Dhadoopversion=23 to "VM parameters", etc.)
>
> Hope this helps,
> Mohit
>
>
> On Mon, Jun 1, 2015 at 9:54 AM, Michael Howard <mh...@podiumdata.com>
> wrote:
>
> > > [javac] error: cannot access InterfaceAudience
> > > [javac] class file for
> > > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > > [javac] 1 error
> >
> > > what it could be?
> >
> > I am a newbie who has also struggled to get my environments configured to
> > build pig.
> >
> > However, I have not seen this issue.
> >
> > the current trunk
> > URL: http://svn.apache.org/repos/asf/pig/trunk
> > Revision: 1682946
> > builds for me with:
> > $ ant clean -Dhadoopversion=23 jar
> >
> >
> > Michael
> >
> >
> > On Mon, Jun 1, 2015 at 11:10 AM, Serega Sheypak <
> serega.sheypak@gmail.com>
> > wrote:
> >
> > > Hi, please help...
> > >
> > > 2015-05-18 1:12 GMT+03:00 Serega Sheypak <se...@gmail.com>:
> > >
> > > > Ok, so I can share how to configure ivyIDEA for comfortable work with
> > pig
> > > > project in Idea
> > > >
> > > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean
> jar
> > > >
> > > > [javac] error: cannot access InterfaceAudience
> > > > [javac] class file for
> > > > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > > > [javac] 1 error
> > > >
> > > > what it could be?
> > > >
> > > >
> > > >
> > > > 2015-05-17 15:01 GMT+03:00 Serega Sheypak <serega.sheypak@gmail.com
> >:
> > > >
> > > >> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig stuff?
> > > >> Don't understand the way:
> > > >> 1. poject should be imported to JIdea
> > > >> 2. howTo pass properties like hadoopversion and hbaseversion?
> > > >>
> > > >>
> > > >> 2015-05-15 22:23 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> > > >>
> > > >>> Rohini wrote:
> > > >>> > Updated the compilation and unit tests section in
> > > >>> > https://cwiki.apache.org/confluence/display/PIG/HowToContribute.
> > > >>> > Hope that answers all the questions.
> > > >>> > Let me know if something is still not clear.
> > > >>>
> > > >>> Thanks for your helpful clarifications for newbies.
> > > >>>
> > > >>>
> > > >>> Michael
> > > >>>
> > > >>
> > > >>
> > > >
> > >
> >
>
Re: HowTo build pig
Posted by Mohit Sabharwal <mo...@cloudera.com>.
Hi Seraga,
I struggled a bit as well when trying to get Intellij to resolve
dependencies for Pig. The trick that worked for me was to:
1) Run "ant -Dhadoopversion=23 eclipse-files" first
2) Import Pig as an Eclipse project (in the "Import project from external
model" option)
After importing, you can setup an "Ant build" Run Configuration with the
required build options ( add -Dhadoopversion=23 to "VM parameters", etc.)
Hope this helps,
Mohit
On Mon, Jun 1, 2015 at 9:54 AM, Michael Howard <mh...@podiumdata.com>
wrote:
> > [javac] error: cannot access InterfaceAudience
> > [javac] class file for
> > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > [javac] 1 error
>
> > what it could be?
>
> I am a newbie who has also struggled to get my environments configured to
> build pig.
>
> However, I have not seen this issue.
>
> the current trunk
> URL: http://svn.apache.org/repos/asf/pig/trunk
> Revision: 1682946
> builds for me with:
> $ ant clean -Dhadoopversion=23 jar
>
>
> Michael
>
>
> On Mon, Jun 1, 2015 at 11:10 AM, Serega Sheypak <se...@gmail.com>
> wrote:
>
> > Hi, please help...
> >
> > 2015-05-18 1:12 GMT+03:00 Serega Sheypak <se...@gmail.com>:
> >
> > > Ok, so I can share how to configure ivyIDEA for comfortable work with
> pig
> > > project in Idea
> > >
> > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar
> > >
> > > [javac] error: cannot access InterfaceAudience
> > > [javac] class file for
> > > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > > [javac] 1 error
> > >
> > > what it could be?
> > >
> > >
> > >
> > > 2015-05-17 15:01 GMT+03:00 Serega Sheypak <se...@gmail.com>:
> > >
> > >> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig stuff?
> > >> Don't understand the way:
> > >> 1. poject should be imported to JIdea
> > >> 2. howTo pass properties like hadoopversion and hbaseversion?
> > >>
> > >>
> > >> 2015-05-15 22:23 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> > >>
> > >>> Rohini wrote:
> > >>> > Updated the compilation and unit tests section in
> > >>> > https://cwiki.apache.org/confluence/display/PIG/HowToContribute.
> > >>> > Hope that answers all the questions.
> > >>> > Let me know if something is still not clear.
> > >>>
> > >>> Thanks for your helpful clarifications for newbies.
> > >>>
> > >>>
> > >>> Michael
> > >>>
> > >>
> > >>
> > >
> >
>
Re: HowTo build pig
Posted by Serega Sheypak <se...@gmail.com>.
Hi!
I run this command: ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns
1000" clean jar test-commit
and get:
[javac]
/Users/ssa/.ivy2/cache/org.apache.hbase/hbase-common/jars/hbase-common-0.98.12-hadoop2.jar(org/apache/hadoop/hbase/io/ImmutableBytesWritable.class):
warning: Cannot find annotation method 'value()' in type
'SuppressWarnings': class file for
edu.umd.cs.findbugs.annotations.SuppressWarnings not found
[javac]
/Users/ssa/.ivy2/cache/org.apache.hbase/hbase-common/jars/hbase-common-0.98.12-hadoop2.jar(org/apache/hadoop/hbase/io/ImmutableBytesWritable.class):
warning: Cannot find annotation method 'justification()' in type
'SuppressWarnings'
[javac] error: cannot access InterfaceAudience
[javac] class file for
org.apache.hadoop.hbase.classification.InterfaceAudience not found
[javac] 1 error
[javac] 25 warnings
BUILD FAILED
/Users/ssa/devel/myown/pig/build.xml:549: The following error occurred
while executing this line:
/Users/ssa/devel/myown/pig/build.xml:590: Compile failed; see the compiler
error output for details.
Total time: 17 seconds
Sorry, have no Idea what do I do wrong...
2015-06-03 21:02 GMT+03:00 Rohini Palaniswamy <ro...@gmail.com>:
> What error are you getting on command line. I have run with jdk8 and never
> had any issues.
>
> Regards,
>
> Rohini
>
> On Mon, Jun 1, 2015 at 1:51 PM, Serega Sheypak <se...@gmail.com>
> wrote:
>
> > Okay... will downgrade, maybe it's the root cause. But right now I don't
> > understand the reason for that.
> >
> > 2015-06-01 23:40 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> >
> > > We are still on ORCL JDK 7.
> > >
> > > $ java -version
> > >
> > > java version "1.7.0_72"
> > >
> > > Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
> > >
> > > Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)
> > >
> > > On Mon, Jun 1, 2015 at 3:53 PM, Serega Sheypak <
> serega.sheypak@gmail.com
> > >
> > > wrote:
> > >
> > > > what java you use: vendor and version?
> > > >
> > > > 2015-06-01 19:54 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> > > >
> > > > > > [javac] error: cannot access InterfaceAudience
> > > > > > [javac] class file for
> > > > > > org.apache.hadoop.hbase.classification.InterfaceAudience not
> found
> > > > > > [javac] 1 error
> > > > >
> > > > > > what it could be?
> > > > >
> > > > > I am a newbie who has also struggled to get my environments
> > configured
> > > to
> > > > > build pig.
> > > > >
> > > > > However, I have not seen this issue.
> > > > >
> > > > > the current trunk
> > > > > URL: http://svn.apache.org/repos/asf/pig/trunk
> > > > > Revision: 1682946
> > > > > builds for me with:
> > > > > $ ant clean -Dhadoopversion=23 jar
> > > > >
> > > > >
> > > > > Michael
> > > > >
> > > > >
> > > > > On Mon, Jun 1, 2015 at 11:10 AM, Serega Sheypak <
> > > > serega.sheypak@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Hi, please help...
> > > > > >
> > > > > > 2015-05-18 1:12 GMT+03:00 Serega Sheypak <
> serega.sheypak@gmail.com
> > >:
> > > > > >
> > > > > > > Ok, so I can share how to configure ivyIDEA for comfortable
> work
> > > with
> > > > > pig
> > > > > > > project in Idea
> > > > > > >
> > > > > > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000"
> > clean
> > > > jar
> > > > > > >
> > > > > > > [javac] error: cannot access InterfaceAudience
> > > > > > > [javac] class file for
> > > > > > > org.apache.hadoop.hbase.classification.InterfaceAudience not
> > found
> > > > > > > [javac] 1 error
> > > > > > >
> > > > > > > what it could be?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2015-05-17 15:01 GMT+03:00 Serega Sheypak <
> > > serega.sheypak@gmail.com
> > > > >:
> > > > > > >
> > > > > > >> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig
> > > stuff?
> > > > > > >> Don't understand the way:
> > > > > > >> 1. poject should be imported to JIdea
> > > > > > >> 2. howTo pass properties like hadoopversion and hbaseversion?
> > > > > > >>
> > > > > > >>
> > > > > > >> 2015-05-15 22:23 GMT+03:00 Michael Howard <
> > mhoward@podiumdata.com
> > > >:
> > > > > > >>
> > > > > > >>> Rohini wrote:
> > > > > > >>> > Updated the compilation and unit tests section in
> > > > > > >>> >
> > > https://cwiki.apache.org/confluence/display/PIG/HowToContribute.
> > > > > > >>> > Hope that answers all the questions.
> > > > > > >>> > Let me know if something is still not clear.
> > > > > > >>>
> > > > > > >>> Thanks for your helpful clarifications for newbies.
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> Michael
> > > > > > >>>
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Re: HowTo build pig
Posted by Rohini Palaniswamy <ro...@gmail.com>.
What error are you getting on command line. I have run with jdk8 and never
had any issues.
Regards,
Rohini
On Mon, Jun 1, 2015 at 1:51 PM, Serega Sheypak <se...@gmail.com>
wrote:
> Okay... will downgrade, maybe it's the root cause. But right now I don't
> understand the reason for that.
>
> 2015-06-01 23:40 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
>
> > We are still on ORCL JDK 7.
> >
> > $ java -version
> >
> > java version "1.7.0_72"
> >
> > Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
> >
> > Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)
> >
> > On Mon, Jun 1, 2015 at 3:53 PM, Serega Sheypak <serega.sheypak@gmail.com
> >
> > wrote:
> >
> > > what java you use: vendor and version?
> > >
> > > 2015-06-01 19:54 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> > >
> > > > > [javac] error: cannot access InterfaceAudience
> > > > > [javac] class file for
> > > > > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > > > > [javac] 1 error
> > > >
> > > > > what it could be?
> > > >
> > > > I am a newbie who has also struggled to get my environments
> configured
> > to
> > > > build pig.
> > > >
> > > > However, I have not seen this issue.
> > > >
> > > > the current trunk
> > > > URL: http://svn.apache.org/repos/asf/pig/trunk
> > > > Revision: 1682946
> > > > builds for me with:
> > > > $ ant clean -Dhadoopversion=23 jar
> > > >
> > > >
> > > > Michael
> > > >
> > > >
> > > > On Mon, Jun 1, 2015 at 11:10 AM, Serega Sheypak <
> > > serega.sheypak@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi, please help...
> > > > >
> > > > > 2015-05-18 1:12 GMT+03:00 Serega Sheypak <serega.sheypak@gmail.com
> >:
> > > > >
> > > > > > Ok, so I can share how to configure ivyIDEA for comfortable work
> > with
> > > > pig
> > > > > > project in Idea
> > > > > >
> > > > > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000"
> clean
> > > jar
> > > > > >
> > > > > > [javac] error: cannot access InterfaceAudience
> > > > > > [javac] class file for
> > > > > > org.apache.hadoop.hbase.classification.InterfaceAudience not
> found
> > > > > > [javac] 1 error
> > > > > >
> > > > > > what it could be?
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2015-05-17 15:01 GMT+03:00 Serega Sheypak <
> > serega.sheypak@gmail.com
> > > >:
> > > > > >
> > > > > >> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig
> > stuff?
> > > > > >> Don't understand the way:
> > > > > >> 1. poject should be imported to JIdea
> > > > > >> 2. howTo pass properties like hadoopversion and hbaseversion?
> > > > > >>
> > > > > >>
> > > > > >> 2015-05-15 22:23 GMT+03:00 Michael Howard <
> mhoward@podiumdata.com
> > >:
> > > > > >>
> > > > > >>> Rohini wrote:
> > > > > >>> > Updated the compilation and unit tests section in
> > > > > >>> >
> > https://cwiki.apache.org/confluence/display/PIG/HowToContribute.
> > > > > >>> > Hope that answers all the questions.
> > > > > >>> > Let me know if something is still not clear.
> > > > > >>>
> > > > > >>> Thanks for your helpful clarifications for newbies.
> > > > > >>>
> > > > > >>>
> > > > > >>> Michael
> > > > > >>>
> > > > > >>
> > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
Re: HowTo build pig
Posted by Serega Sheypak <se...@gmail.com>.
Okay... will downgrade, maybe it's the root cause. But right now I don't
understand the reason for that.
2015-06-01 23:40 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> We are still on ORCL JDK 7.
>
> $ java -version
>
> java version "1.7.0_72"
>
> Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
>
> Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)
>
> On Mon, Jun 1, 2015 at 3:53 PM, Serega Sheypak <se...@gmail.com>
> wrote:
>
> > what java you use: vendor and version?
> >
> > 2015-06-01 19:54 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> >
> > > > [javac] error: cannot access InterfaceAudience
> > > > [javac] class file for
> > > > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > > > [javac] 1 error
> > >
> > > > what it could be?
> > >
> > > I am a newbie who has also struggled to get my environments configured
> to
> > > build pig.
> > >
> > > However, I have not seen this issue.
> > >
> > > the current trunk
> > > URL: http://svn.apache.org/repos/asf/pig/trunk
> > > Revision: 1682946
> > > builds for me with:
> > > $ ant clean -Dhadoopversion=23 jar
> > >
> > >
> > > Michael
> > >
> > >
> > > On Mon, Jun 1, 2015 at 11:10 AM, Serega Sheypak <
> > serega.sheypak@gmail.com>
> > > wrote:
> > >
> > > > Hi, please help...
> > > >
> > > > 2015-05-18 1:12 GMT+03:00 Serega Sheypak <se...@gmail.com>:
> > > >
> > > > > Ok, so I can share how to configure ivyIDEA for comfortable work
> with
> > > pig
> > > > > project in Idea
> > > > >
> > > > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean
> > jar
> > > > >
> > > > > [javac] error: cannot access InterfaceAudience
> > > > > [javac] class file for
> > > > > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > > > > [javac] 1 error
> > > > >
> > > > > what it could be?
> > > > >
> > > > >
> > > > >
> > > > > 2015-05-17 15:01 GMT+03:00 Serega Sheypak <
> serega.sheypak@gmail.com
> > >:
> > > > >
> > > > >> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig
> stuff?
> > > > >> Don't understand the way:
> > > > >> 1. poject should be imported to JIdea
> > > > >> 2. howTo pass properties like hadoopversion and hbaseversion?
> > > > >>
> > > > >>
> > > > >> 2015-05-15 22:23 GMT+03:00 Michael Howard <mhoward@podiumdata.com
> >:
> > > > >>
> > > > >>> Rohini wrote:
> > > > >>> > Updated the compilation and unit tests section in
> > > > >>> >
> https://cwiki.apache.org/confluence/display/PIG/HowToContribute.
> > > > >>> > Hope that answers all the questions.
> > > > >>> > Let me know if something is still not clear.
> > > > >>>
> > > > >>> Thanks for your helpful clarifications for newbies.
> > > > >>>
> > > > >>>
> > > > >>> Michael
> > > > >>>
> > > > >>
> > > > >>
> > > > >
> > > >
> > >
> >
>
Re: HowTo build pig
Posted by Michael Howard <mh...@podiumdata.com>.
We are still on ORCL JDK 7.
$ java -version
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)
On Mon, Jun 1, 2015 at 3:53 PM, Serega Sheypak <se...@gmail.com>
wrote:
> what java you use: vendor and version?
>
> 2015-06-01 19:54 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
>
> > > [javac] error: cannot access InterfaceAudience
> > > [javac] class file for
> > > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > > [javac] 1 error
> >
> > > what it could be?
> >
> > I am a newbie who has also struggled to get my environments configured to
> > build pig.
> >
> > However, I have not seen this issue.
> >
> > the current trunk
> > URL: http://svn.apache.org/repos/asf/pig/trunk
> > Revision: 1682946
> > builds for me with:
> > $ ant clean -Dhadoopversion=23 jar
> >
> >
> > Michael
> >
> >
> > On Mon, Jun 1, 2015 at 11:10 AM, Serega Sheypak <
> serega.sheypak@gmail.com>
> > wrote:
> >
> > > Hi, please help...
> > >
> > > 2015-05-18 1:12 GMT+03:00 Serega Sheypak <se...@gmail.com>:
> > >
> > > > Ok, so I can share how to configure ivyIDEA for comfortable work with
> > pig
> > > > project in Idea
> > > >
> > > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean
> jar
> > > >
> > > > [javac] error: cannot access InterfaceAudience
> > > > [javac] class file for
> > > > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > > > [javac] 1 error
> > > >
> > > > what it could be?
> > > >
> > > >
> > > >
> > > > 2015-05-17 15:01 GMT+03:00 Serega Sheypak <serega.sheypak@gmail.com
> >:
> > > >
> > > >> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig stuff?
> > > >> Don't understand the way:
> > > >> 1. poject should be imported to JIdea
> > > >> 2. howTo pass properties like hadoopversion and hbaseversion?
> > > >>
> > > >>
> > > >> 2015-05-15 22:23 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> > > >>
> > > >>> Rohini wrote:
> > > >>> > Updated the compilation and unit tests section in
> > > >>> > https://cwiki.apache.org/confluence/display/PIG/HowToContribute.
> > > >>> > Hope that answers all the questions.
> > > >>> > Let me know if something is still not clear.
> > > >>>
> > > >>> Thanks for your helpful clarifications for newbies.
> > > >>>
> > > >>>
> > > >>> Michael
> > > >>>
> > > >>
> > > >>
> > > >
> > >
> >
>
Re: HowTo build pig
Posted by Serega Sheypak <se...@gmail.com>.
what java you use: vendor and version?
2015-06-01 19:54 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> > [javac] error: cannot access InterfaceAudience
> > [javac] class file for
> > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > [javac] 1 error
>
> > what it could be?
>
> I am a newbie who has also struggled to get my environments configured to
> build pig.
>
> However, I have not seen this issue.
>
> the current trunk
> URL: http://svn.apache.org/repos/asf/pig/trunk
> Revision: 1682946
> builds for me with:
> $ ant clean -Dhadoopversion=23 jar
>
>
> Michael
>
>
> On Mon, Jun 1, 2015 at 11:10 AM, Serega Sheypak <se...@gmail.com>
> wrote:
>
> > Hi, please help...
> >
> > 2015-05-18 1:12 GMT+03:00 Serega Sheypak <se...@gmail.com>:
> >
> > > Ok, so I can share how to configure ivyIDEA for comfortable work with
> pig
> > > project in Idea
> > >
> > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar
> > >
> > > [javac] error: cannot access InterfaceAudience
> > > [javac] class file for
> > > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > > [javac] 1 error
> > >
> > > what it could be?
> > >
> > >
> > >
> > > 2015-05-17 15:01 GMT+03:00 Serega Sheypak <se...@gmail.com>:
> > >
> > >> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig stuff?
> > >> Don't understand the way:
> > >> 1. poject should be imported to JIdea
> > >> 2. howTo pass properties like hadoopversion and hbaseversion?
> > >>
> > >>
> > >> 2015-05-15 22:23 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> > >>
> > >>> Rohini wrote:
> > >>> > Updated the compilation and unit tests section in
> > >>> > https://cwiki.apache.org/confluence/display/PIG/HowToContribute.
> > >>> > Hope that answers all the questions.
> > >>> > Let me know if something is still not clear.
> > >>>
> > >>> Thanks for your helpful clarifications for newbies.
> > >>>
> > >>>
> > >>> Michael
> > >>>
> > >>
> > >>
> > >
> >
>
Re: HowTo build pig
Posted by Michael Howard <mh...@podiumdata.com>.
> [javac] error: cannot access InterfaceAudience
> [javac] class file for
> org.apache.hadoop.hbase.classification.InterfaceAudience not found
> [javac] 1 error
> what it could be?
I am a newbie who has also struggled to get my environments configured to
build pig.
However, I have not seen this issue.
the current trunk
URL: http://svn.apache.org/repos/asf/pig/trunk
Revision: 1682946
builds for me with:
$ ant clean -Dhadoopversion=23 jar
Michael
On Mon, Jun 1, 2015 at 11:10 AM, Serega Sheypak <se...@gmail.com>
wrote:
> Hi, please help...
>
> 2015-05-18 1:12 GMT+03:00 Serega Sheypak <se...@gmail.com>:
>
> > Ok, so I can share how to configure ivyIDEA for comfortable work with pig
> > project in Idea
> >
> > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar
> >
> > [javac] error: cannot access InterfaceAudience
> > [javac] class file for
> > org.apache.hadoop.hbase.classification.InterfaceAudience not found
> > [javac] 1 error
> >
> > what it could be?
> >
> >
> >
> > 2015-05-17 15:01 GMT+03:00 Serega Sheypak <se...@gmail.com>:
> >
> >> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig stuff?
> >> Don't understand the way:
> >> 1. poject should be imported to JIdea
> >> 2. howTo pass properties like hadoopversion and hbaseversion?
> >>
> >>
> >> 2015-05-15 22:23 GMT+03:00 Michael Howard <mh...@podiumdata.com>:
> >>
> >>> Rohini wrote:
> >>> > Updated the compilation and unit tests section in
> >>> > https://cwiki.apache.org/confluence/display/PIG/HowToContribute.
> >>> > Hope that answers all the questions.
> >>> > Let me know if something is still not clear.
> >>>
> >>> Thanks for your helpful clarifications for newbies.
> >>>
> >>>
> >>> Michael
> >>>
> >>
> >>
> >
>