开发者社区 > 大数据与机器学习 > 开源大数据平台 E-MapReduce > 正文

阿里云E-MapReduce 版本对jdk 1.8 的小版本有没有什么要求 ?

阿里云E-MapReduce indo 5.0.0-beta7 版本对jdk 1.8 的小版本有没有什么要求 ?

  • 出问题的机器jdk版本为:1.8.0_65-b17
  • 没有出问题的机器jdk版本为:1.8.0_241-b07
    【报错日志】:
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.aliyun.jindodata.oss.JindoOssFileSystem
      at java.lang.Class.forName0(Native Method)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
      at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1097)
      at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.run(Nio2Endpoint.java:1056)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:745)
    
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.aliyun.jindodata.oss.JindoOssFileSystem
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:348)
      at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2575)
      at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2540)
      at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2636)
      at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3269)
      at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3301)
      at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124)
      at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3352)
      at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3320)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:479)
      at org.apache.hadoop.fs.viewfs.ChRootedFileSystem.<init>(ChRootedFileSystem.java:105)
      at org.apache.hadoop.fs.viewfs.ViewFileSystem$1.getTargetFileSystem(ViewFileSystem.java:190)
      at org.apache.hadoop.fs.viewfs.ViewFileSystem$1.getTargetFileSystem(ViewFileSystem.java:185)
      at org.apache.hadoop.fs.viewfs.InodeTree.createLink(InodeTree.java:335)
      at org.apache.hadoop.fs.viewfs.InodeTree.<init>(InodeTree.java:578)
      at org.apache.hadoop.fs.viewfs.ViewFileSystem$1.<init>(ViewFileSystem.java:185)
      at org.apache.hadoop.fs.viewfs.ViewFileSystem.initialize(ViewFileSystem.java:185)
      at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3303)
      at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124)
      at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3352)
      at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3320)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:479)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:227)
      at com.ximalaya.data.mermaid.utils.HDFSUtil.getInputStream(HDFSUtil.java:25)
      at com.ximalaya.data.mermaid.controller.ProtobufController.downloadResource(ProtobufController.java:175)
      at com.ximalaya.data.mermaid.controller.ProtobufController.transferResource(ProtobufController.java:168)
      at com.ximalaya.data.mermaid.controller.ProtobufController.downloadFile(ProtobufController.java:146)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
      at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
      at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
      at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
      at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
    

展开
收起
真的很搞笑 2023-09-13 16:56:57 343 0
1 条回答
写回答
取消 提交回答
  • 这个走正式的渠道来支持。,此回答整理自钉群“JindoData 用户交流群”

    2023-09-13 19:02:07
    赞同 展开评论 打赏

阿里云EMR是云原生开源大数据平台,为客户提供简单易集成的Hadoop、Hive、Spark、Flink、Presto、ClickHouse、StarRocks、Delta、Hudi等开源大数据计算和存储引擎,计算资源可以根据业务的需要调整。EMR可以部署在阿里云公有云的ECS和ACK平台。

相关产品

  • 开源大数据平台 E-MapReduce
  • 相关电子书

    更多
    低代码开发师(初级)实战教程 立即下载
    冬季实战营第三期:MySQL数据库进阶实战 立即下载
    阿里巴巴DevOps 最佳实践手册 立即下载