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 <[email protected]>:

> 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 <[email protected]>
> 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 <[email protected]>:
> >
> > > 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 <
> [email protected]
> > >
> > > wrote:
> > >
> > > > what java you use: vendor and version?
> > > >
> > > > 2015-06-01 19:54 GMT+03:00 Michael Howard <[email protected]>:
> > > >
> > > > > >   [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 <
> > > > [email protected]>
> > > > > wrote:
> > > > >
> > > > > > Hi, please help...
> > > > > >
> > > > > > 2015-05-18 1:12 GMT+03:00 Serega Sheypak <
> [email protected]
> > >:
> > > > > >
> > > > > > > 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 <
> > > [email protected]
> > > > >:
> > > > > > >
> > > > > > >> 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 <
> > [email protected]
> > > >:
> > > > > > >>
> > > > > > >>> 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
> > > > > > >>>
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to