Support Questions
Find answers, ask questions, and share your expertise

Fail to start the server of ambari

Highlighted

Fail to start the server of ambari

New Contributor

Hi.I got a problem and 

When I started my server of ambari using "ambari-server start",it failed. it points that "REASON: Ambari Server java process has stopped. Please check the logs for more information".So I check the file of log,found that it had a exception like this:

Exception in thread "main" java.lang.ClassFormatError: Illegal UTF8 string in constant pool in class file org/apache/ambari/server/view/ViewRegistry
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.google.common.reflect.ClassPath$ClassInfo.load(ClassPath.java:328)
at org.apache.ambari.server.cleanup.ClasspathScannerUtils.findOnClassPath(ClasspathScannerUtils.java:57)
at org.apache.ambari.server.controller.ControllerModule.bindByAnnotation(ControllerModule.java:551)
at org.apache.ambari.server.controller.ControllerModule.configure(ControllerModule.java:402)
at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
at com.google.inject.spi.Elements.getElements(Elements.java:110)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
at com.google.inject.Guice.createInjector(Guice.java:99)

Don't have an account?