You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by Mikhail Antonov <ol...@gmail.com> on 2014/01/11 21:08:25 UTC
FYI - building Phoenix issues/solution
Just FYI, in case anyone else also faces this.
I've been using OpenJDK 1.6.22 and yesterday bumped into issues while
building Phoenix.
https://groups.google.com/forum/#!topic/phoenix-hbase-user/nKff-nxR1ww -
described here.
That actually got fixed for me after I updated from Open JDK 1.6.22 to
Oracle Hotspot 1.6.45 (can't update to JDK 7, as Bigtop doesn't support it).
Looks like it's related to bug in openjdk/guava, discussed here (related to
type inference)
https://groups.google.com/forum/#!msg/android-building/BFr5bmQzhHw/rnKICT8AKfUJ
Not sure if the same bug happens with any newer versions of IcedTea 1.6.
Thanks,
Mikhail
Re: FYI - building Phoenix issues/solution
Posted by Mikhail Antonov <ol...@gmail.com>.
Yep, 0.11 doesn't compile on JDK 7, i tested that about 3 weeks ago or so.
0.12 does compile fine, but I didn't do "full testing" of that. I recall
that even in 0.12 there were things not "fully" fixed, unlike 0.13/master.
But I would say upgrading to 0.12 is right thing to do sooner rather than
later.
Mikhail
2014/1/14 Mark Grover <ma...@apache.org>
> Thanks Mikhail. I did poke a little around Hive and JDK7. I believe Hive
> 0.12 is the first release that we can build Hive on JDK7. See HIVE-3197 for
> example. Although that JIRA is fixed in 0.11, I think there were some other
> bugs that would have prevented Hive from building on JDK7 till Hive 0.12.
> When we voted the BOM (Bill Of Materials) for Bigtop 0.8, Hive 0.12 was not
> out, so we voted for 0.11.1.
>
> I do think, however, that Hive 0.12 makes more sense for Bigtop 0.8. I will
> likely create a new vote thread for that.
>
> Mark
>
> On Mon, Jan 13, 2014 at 11:07 PM, Mikhail Antonov <olorinbant@gmail.com
> >wrote:
>
> > Initially I tried to do everything on JDK 7, and then created umbrella
> jira
> > for that to track my findings.
> > https://issues.apache.org/jira/browse/BIGTOP-1164
> >
> > Immediate problem I had with that was that version Hive we're using now
> > doesn't compile on JDK 7 (hive-jdbc code doesn't implement newer
> > interfaces' methods).
> >
> > Thanks,
> > Mikhail
> >
> >
> > 2014/1/13 Roman Shaposhnik <ro...@shaposhnik.org>
> >
> > > Hi!
> > >
> > > Thanks for the heads up -- this is very much appreciated!
> > >
> > > On Sat, Jan 11, 2014 at 12:08 PM, Mikhail Antonov <
> olorinbant@gmail.com>
> > > wrote:
> > > > (can't update to JDK 7, as Bigtop doesn't support it).
> > >
> > > For Bigtop 0.8.0 we should move to JDK7 completely.
> > >
> > > Thanks,
> > > Roman.
> > >
> >
> >
> >
> > --
> > Thanks,
> > Michael Antonov
> >
>
--
Thanks,
Michael Antonov
Re: FYI - building Phoenix issues/solution
Posted by Mark Grover <ma...@apache.org>.
Thanks Mikhail. I did poke a little around Hive and JDK7. I believe Hive
0.12 is the first release that we can build Hive on JDK7. See HIVE-3197 for
example. Although that JIRA is fixed in 0.11, I think there were some other
bugs that would have prevented Hive from building on JDK7 till Hive 0.12.
When we voted the BOM (Bill Of Materials) for Bigtop 0.8, Hive 0.12 was not
out, so we voted for 0.11.1.
I do think, however, that Hive 0.12 makes more sense for Bigtop 0.8. I will
likely create a new vote thread for that.
Mark
On Mon, Jan 13, 2014 at 11:07 PM, Mikhail Antonov <ol...@gmail.com>wrote:
> Initially I tried to do everything on JDK 7, and then created umbrella jira
> for that to track my findings.
> https://issues.apache.org/jira/browse/BIGTOP-1164
>
> Immediate problem I had with that was that version Hive we're using now
> doesn't compile on JDK 7 (hive-jdbc code doesn't implement newer
> interfaces' methods).
>
> Thanks,
> Mikhail
>
>
> 2014/1/13 Roman Shaposhnik <ro...@shaposhnik.org>
>
> > Hi!
> >
> > Thanks for the heads up -- this is very much appreciated!
> >
> > On Sat, Jan 11, 2014 at 12:08 PM, Mikhail Antonov <ol...@gmail.com>
> > wrote:
> > > (can't update to JDK 7, as Bigtop doesn't support it).
> >
> > For Bigtop 0.8.0 we should move to JDK7 completely.
> >
> > Thanks,
> > Roman.
> >
>
>
>
> --
> Thanks,
> Michael Antonov
>
Re: FYI - building Phoenix issues/solution
Posted by Mikhail Antonov <ol...@gmail.com>.
Initially I tried to do everything on JDK 7, and then created umbrella jira
for that to track my findings.
https://issues.apache.org/jira/browse/BIGTOP-1164
Immediate problem I had with that was that version Hive we're using now
doesn't compile on JDK 7 (hive-jdbc code doesn't implement newer
interfaces' methods).
Thanks,
Mikhail
2014/1/13 Roman Shaposhnik <ro...@shaposhnik.org>
> Hi!
>
> Thanks for the heads up -- this is very much appreciated!
>
> On Sat, Jan 11, 2014 at 12:08 PM, Mikhail Antonov <ol...@gmail.com>
> wrote:
> > (can't update to JDK 7, as Bigtop doesn't support it).
>
> For Bigtop 0.8.0 we should move to JDK7 completely.
>
> Thanks,
> Roman.
>
--
Thanks,
Michael Antonov
Re: FYI - building Phoenix issues/solution
Posted by Roman Shaposhnik <ro...@shaposhnik.org>.
Hi!
Thanks for the heads up -- this is very much appreciated!
On Sat, Jan 11, 2014 at 12:08 PM, Mikhail Antonov <ol...@gmail.com> wrote:
> (can't update to JDK 7, as Bigtop doesn't support it).
For Bigtop 0.8.0 we should move to JDK7 completely.
Thanks,
Roman.