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

Reply via email to