Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # dev >> JAXB / Guice errors


Copy link to this message
-
JAXB / Guice errors
Hi,

Is anyone seeing these errors when they try to access the RM Web UI?

HTTP ERROR 500

Problem accessing /. Reason:

    Guice provision errors:

1) Error injecting constructor, java.lang.LinkageError: JAXB 2.1 API is
being loaded from the bootstrap classloader, but this RI (from
jar:file:<somePath>/hadoop-0.23.1-SNAPSHOT/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar
in the bootstrap classloader. (See
http://java.sun.com/j2se/1.6.0/docs/guide/standards/)
  at
org.apache.hadoop.yarn.server.resourcemanager.webapp.JAXBContextResolver.<init>(JAXBContextResolver.java:60)
  at
org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebApp.setup(RMWebApp.java:45)
  while locating
org.apache.hadoop.yarn.server.resourcemanager.webapp.JAXBContextResolver

1 error

Anyone fix it yet?

Cheers
Ravi.