I have set up a new Hadoop cluster using the HDP distribution version 2.5.3.0-37. I have downloaded Geomesa Hbase version 2.11-1.3.0, running on HBase version 1.1.2.2.5.3.0-37.
After having launched 'geomesa-hbase configure' and set up the HADOOP_HOME and HBASE_HOME variables on the geomesa-env.sh, I check the installation running 'geomesa-hbase' and I get the following error :
Using GEOMESA_HBASE_HOME = /opt/geomesa-hbase_2.11-1.3.0
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/opengis/feature/type/FeatureType : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.locationtech.geomesa.hbase.tools.data.HBaseCreateSchemaCommand.<init>(HBaseCreateSchemaCommand.scala:17)
at org.locationtech.geomesa.hbase.tools.HBaseRunner$.createCommands(HBaseRunner.scala:26)
at org.locationtech.geomesa.tools.Runner$class.parseCommand(Runner.scala:36)
at org.locationtech.geomesa.hbase.tools.HBaseRunner$.parseCommand(HBaseRunner.scala:21)
at org.locationtech.geomesa.tools.Runner$class.main(Runner.scala:23)
at org.locationtech.geomesa.hbase.tools.HBaseRunner$.main(HBaseRunner.scala:21)
at org.locationtech.geomesa.hbase.tools.HBaseRunner.main(HBaseRunner.scala)
I had previously installed Geomesa HBase in another cluster with HDP version 2.4.3.0-227 and running over HBase 1.1.2.2.4.3.0-227 and I never got this problem.
Are there any known incompatibilities with the HDP version 2.5.3.0-37 ? Any idea to solve this problem ?
Thanks again.
José.