java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated

flink-user | Robert Metzger | 6 months ago
  1. 0

    Flink on YARN : Amazon S3 wrongly used instead of HDFS

    Stack Overflow | 6 months ago | Charles
    java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated
  2. 0

    Re: Flink on YARN : Amazon S3 wrongly used instead of HDFS

    flink-user | 6 months ago | Robert Metzger
    java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated
  3. 0

    {CODE} Exception in thread "main" java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:224) at java.util.ServiceLoader.access$100(ServiceLoader.java:181) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377) at java.util.ServiceLoader$1.next(ServiceLoader.java:445) at org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2563) at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2574) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2591) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2630) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2612) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:169) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:345) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:293) at org.apache.hive.service.cli.session.SessionManager.applyAuthorizationConfigPolicy(SessionManager.java:128) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:76) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:112) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.lens.server.LensServices.init(LensServices.java:186) at org.apache.lens.server.LensServer.startServices(LensServer.java:113) at org.apache.lens.server.LensServer.<init>(LensServer.java:73) at org.apache.lens.server.LensServer.main(LensServer.java:168) Caused by: java.lang.NoClassDefFoundError: com/amazonaws/services/s3/AmazonS3 at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532) at java.lang.Class.getConstructor0(Class.java:2842) at java.lang.Class.newInstance(Class.java:345) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373) ... 20 more Caused by: java.lang.ClassNotFoundException: com.amazonaws.services.s3.AmazonS3 at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 25 more {CODE}

    Apache's JIRA Issue Tracker | 2 years ago | Raghavendra Singh
    java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate 5.0.1 and Java 8; Provider org.hibernate.type.Java8DateTimeTypeContributor not found

    Stack Overflow | 1 year ago | Ruby9191
    java.util.ServiceConfigurationError: org.hibernate.boot.model.TypeContributor: Provider org.hibernate.type.Java8DateTimeTypeContributor not found
  6. 0

    Deploy Plugin 1.10 - deploy to Jboss 7.x - Cannot locate the JBoss connector classes

    Google Groups | 2 years ago | Unknown author
    java.util.ServiceConfigurationError: org.xnio.XnioProvider: Provider org.xnio.nio.NioXnioProvider could not be instantiated

  1. kid 1 times, last 4 weeks ago
  2. Handemelindo 2 times, last 2 months ago
54 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

    com.amazonaws.AmazonServiceException

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ServiceLoader$1.next
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    8. java.lang.Class.getDeclaredConstructors0(Native Method)
    9. java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
    10. java.lang.Class.getConstructor0(Class.java:2842)
    11. java.lang.Class.newInstance(Class.java:345)
    12. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373)
    13. java.util.ServiceLoader$1.next(ServiceLoader.java:445)
    13 frames
  3. Hadoop
    FileSystem.get
    1. org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2623)
    2. org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2634)
    3. org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2651)
    4. org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92)
    5. org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687)
    6. org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2669)
    7. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371)
    8. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:170)
    8 frames
  4. org.apache.flink
    FlinkYarnClientBase$1.run
    1. org.apache.flink.yarn.FlinkYarnClientBase.deployInternal(FlinkYarnClientBase.java:531)
    2. org.apache.flink.yarn.FlinkYarnClientBase$1.run(FlinkYarnClientBase.java:342)
    3. org.apache.flink.yarn.FlinkYarnClientBase$1.run(FlinkYarnClientBase.java:339)
    3 frames
  5. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:415)
    2 frames
  6. Hadoop
    UserGroupInformation.doAs
    1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
    1 frame
  7. org.apache.flink
    FlinkYarnClientBase.deploy
    1. org.apache.flink.yarn.FlinkYarnClientBase.deploy(FlinkYarnClientBase.java:339)
    1 frame
  8. flink-clients
    FlinkYarnSessionCli.main
    1. org.apache.flink.client.FlinkYarnSessionCli.run(FlinkYarnSessionCli.java:419)
    2. org.apache.flink.client.FlinkYarnSessionCli.main(FlinkYarnSessionCli.java:362)
    2 frames