java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName

Apache's JIRA Issue Tracker | lulu prat | 3 years ago
  1. 0

    i build oozie and do the tuto :http://www.linuxpedia.fr/doku.php/expert/systeme_chiffre_luks_pam_cryptsetup but when i run : bin/oozied.sh run i get the error: ERROR: Oozie could not be started REASON: java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName Stacktrace: ----------------------------------------------------------------- java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName at org.apache.hadoop.security.UserGroupInformation.getOSLoginModuleName(UserGroupInformation.java:337) at org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:382) at org.apache.oozie.service.HadoopAccessorService.init(HadoopAccessorService.java:132) at org.apache.oozie.service.HadoopAccessorService.init(HadoopAccessorService.java:98) at org.apache.oozie.service.Services.setServiceInternal(Services.java:368) at org.apache.oozie.service.Services.setService(Services.java:354) at org.apache.oozie.service.Services.loadServices(Services.java:287) at org.apache.oozie.service.Services.init(Services.java:208) at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.util.PlatformName at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 33 more

    Apache's JIRA Issue Tracker | 3 years ago | lulu prat
    java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName
  2. 0

    Struts 2 json plugin error java.lang.ClassNotFoundException:

    Stack Overflow | 4 years ago | jackyesind
    java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.logging.LoggerFactory
  3. 0

    Getting 'java.lang.ClassNotFoundException: org.springframework.beans.BeansException' when starting tomcat

    Stack Overflow | 4 years ago | Umeshwali
    java.lang.ClassNotFoundException: org.springframework.beans.BeansException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Apache Camel : Restlet request error

    Stack Overflow | 3 years ago | MacJ
    java.lang.ClassNotFoundException: org.springframework.core.env.EnvironmentCapable
  6. 0

    Bekwam Blog: Streaming a PDF Jasper Report Using JSP

    blogspot.com | 2 months ago
    java.lang.ClassNotFoundException: com.itextpdf.text.pdf.PdfAWriter

  1. treefolk 1 times, last 2 weeks ago
  2. Tahir 2 times, last 2 months ago
  3. Piz 2027 times, last 4 months ago
  4. jedcua 1 times, last 4 months ago
  5. esaar 3 times, last 4 months ago
5 more registered users
90 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.hadoop.util.PlatformName

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    2 frames
  3. Hadoop
    UserGroupInformation.<clinit>
    1. org.apache.hadoop.security.UserGroupInformation.getOSLoginModuleName(UserGroupInformation.java:337)
    2. org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:382)
    2 frames
  4. org.apache.oozie
    ServicesLoader.contextInitialized
    1. org.apache.oozie.service.HadoopAccessorService.init(HadoopAccessorService.java:132)
    2. org.apache.oozie.service.HadoopAccessorService.init(HadoopAccessorService.java:98)
    3. org.apache.oozie.service.Services.setServiceInternal(Services.java:368)
    4. org.apache.oozie.service.Services.setService(Services.java:354)
    5. org.apache.oozie.service.Services.loadServices(Services.java:287)
    6. org.apache.oozie.service.Services.init(Services.java:208)
    7. org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:45)
    7 frames
  5. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    6. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
    7. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
    13. org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    16. org.apache.catalina.core.StandardService.start(StandardService.java:525)
    17. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    18. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    18 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:622)
    4 frames
  7. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames