Thanks for the feedback. Before filing the bug though, I'd like to know whether it is a requirement that Sentry supports JDK 1.6 or not? If yes I will try to supply a patch to exclude the failing tests, otherwise update the compiler plugin to 1.7.
Colm. On Tue, Oct 27, 2015 at 3:07 PM, Anne Yu <[email protected]> wrote: > Hey Colm, > > You can file a bug to state the problem. And if no one is picking up the > issue, you can assign to yourself then request a code review. > > Best, > Anne > On Oct 27, 2015 7:26 AM, "Colm O hEigeartaigh" <[email protected]> > wrote: > >> Hello, >> >> I see that the source code is still enforced to be 1.6 via the maven >> compiler plugin. However, there are a bunch of tests that fail due to 1.7 >> dependencies, e.g.: >> >> testInitializer(org.apache.sentry.hdfs.TestMetastoreCacheInitializer) >> Time >> elapsed: 0.247 sec <<< ERROR! >> java.lang.UnsupportedClassVersionError: >> com/facebook/fb303/FacebookService$Iface : Unsupported major.minor version >> 51.0 >> >> testExceptionInTask(org.apache.sentry.hdfs.TestMetastoreCacheInitializer) >> Time elapsed: 0.003 sec <<< ERROR! >> java.lang.UnsupportedClassVersionError: >> org/apache/hadoop/hive/metastore/IHMSHandler >> >> etc. Perhaps it's time to move the maven.compile.source/target properties >> in the pom to 1.7? >> >> Colm. >> >> >> -- >> Colm O hEigeartaigh >> >> Talend Community Coder >> http://coders.talend.com >> > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
