AnsweredAssumed Answered

Installation issue with MapR Client 4.0.2.29870GA-1.x86_64 installation on OSX Yosemite 10.10.2

Question asked by sharoy on Feb 21, 2015
Latest reply on Jul 30, 2015 by adiallo
I followed the instruction on
http://doc.mapr.com/display/MapR/Setting+Up+the+Client#SettingUptheClient-macosx-client

I am getting the following error

M-40ST:~ sharoy$ sudo /opt/mapr/server/configure.sh -N sa-hackit -c -C cstg-nmb-hkt-cnod-01
readlink: illegal option -- f
usage: readlink [-n] [file ...]
ERROR: /Library/Java/Home/bin/java found via JAVA_HOME or on PATH is not 64-Bit SUN-Java 1.7.x or 1.8.x, or 64-Bit OpenJDK 1.7.x or 1.8.x. [101]
ERROR: MapR recommends 64-Bit SUN-Java 1.7.x or 1.8.x, or 64-Bit OpenJDK 1.7.x or 1.8.x.
ERROR: ACTION: Install a recommended version of Java and set the JAVA_HOME environment variable in env.sh.
WARNING:There is some incompatibility in the current machine to install MapR. Check the above ACTION items to resolve them
Configuring Hadoop-2.5.1 at /opt/mapr/hadoop/hadoop-2.5.1
Done configuring Hadoop
CLDB node list: cstg-nmb-hkt-cnod-01:7222
Zookeeper node list:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/hadoop/conf/CoreDefaultProperties : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:1857)
at org.apache.hadoop.conf.Configuration.getProperties(Configuration.java:2072)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2282)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2234)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2151)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:871)
at org.apache.hadoop.util.RunJar.main(RunJar.java:158)
ERROR configuring yarn-site.xml.
M-40ST:~ sharoy$

Outcomes