{"record":{"id":"cfddedda4f2bc520","repo":"apache/hadoop","slug":"no-filesystem-for-scheme","errorCode":null,"errorMessage":"No FileSystem for scheme \"{}\"","messagePattern":"No FileSystem for scheme \"(.+?)\"","errorType":"exception","errorClass":"UnsupportedFileSystemException","httpStatus":null,"severity":"error","filePath":"hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java","lineNumber":3585,"sourceCode":"    }\n    LOGGER.debug(\"Looking for FS supporting {}\", scheme);\n    Class<? extends FileSystem> clazz = null;\n    if (conf != null) {\n      String property = \"fs.\" + scheme + \".impl\";\n      LOGGER.debug(\"looking for configuration option {}\", property);\n      clazz = (Class<? extends FileSystem>) conf.getClass(\n          property, null);\n    } else {\n      LOGGER.debug(\"No configuration: skipping check for fs.{}.impl\", scheme);\n    }\n    if (clazz == null) {\n      LOGGER.debug(\"Looking in service filesystems for implementation class\");\n      clazz = SERVICE_FILE_SYSTEMS.get(scheme);\n    } else {\n      LOGGER.debug(\"Filesystem {} defined in configuration option\", scheme);\n    }\n    if (clazz == null) {\n      throw new UnsupportedFileSystemException(\"No FileSystem for scheme \"\n          + \"\\\"\" + scheme + \"\\\"\");\n    }\n    if (LOGGER.isDebugEnabled()) {\n      LOGGER.debug(\"FS for {} is {}\", scheme, clazz);\n      final String jarLocation = ClassUtil.findContainingJar(clazz);\n      if (jarLocation != null) {\n        LOGGER.debug(\"Jar location for {} : {}\", clazz, jarLocation);\n      } else {\n        LOGGER.debug(\"Class location for {} : {}\", clazz, ClassUtil.findClassLocation(clazz));\n      }\n    }\n    return clazz;\n  }\n\n  /**\n   * Create and initialize a new instance of a FileSystem.\n   * @param uri URI containing the FS schema and FS details\n   * @param conf configuration to use to look for the FS instance declaration","sourceCodeStart":3567,"sourceCodeEnd":3603,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java#L3567-L3603","documentation":"Error \"No FileSystem for scheme \"{}\"\" thrown in apache/hadoop.","triggerScenarios":"Thrown at hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java:3585 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add the filesystem implementation class to core-site.xml: fs.<scheme>.impl.","Ensure the jar providing the scheme's FileSystem is on the classpath.","Check the URI scheme for typos (e.g. hdfs vs. file)."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2add9630210752f88ceb1bb74eb65e37bf41da8e","analyzedAt":"2026-08-22T19:55:07.957Z","schemaVersion":2},"datasetVersion":"2026-08-23T01:17:44.959Z"}