{"record":{"id":"584e17578b8666e2","repo":"apache/hadoop","slug":"s-null-s-s","errorCode":null,"errorMessage":"%s=null: %s: %s","messagePattern":"(.+?)=null: (.+?): (.+?)","errorType":"exception","errorClass":"UnsupportedFileSystemException","httpStatus":null,"severity":"error","filePath":"hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java","lineNumber":176,"sourceCode":"   * conf is used to find the class name that implements the file system. The\n   * conf is also passed to the file system for its configuration.\n   *\n   * @param uri URI of the file system\n   * @param conf Configuration for the file system\n   * \n   * @return Returns the file system for the given URI\n   *\n   * @throws UnsupportedFileSystemException file system for <code>uri</code> is\n   *           not found\n   */\n  public static AbstractFileSystem createFileSystem(URI uri, Configuration conf)\n      throws UnsupportedFileSystemException {\n    final String fsImplConf = String.format(\"fs.AbstractFileSystem.%s.impl\",\n        uri.getScheme());\n\n    Class<?> clazz = conf.getClass(fsImplConf, null);\n    if (clazz == null) {\n      throw new UnsupportedFileSystemException(String.format(\n          \"%s=null: %s: %s\",\n          fsImplConf, NO_ABSTRACT_FS_ERROR, uri.getScheme()));\n    }\n    return (AbstractFileSystem) newInstance(clazz, uri, conf);\n  }\n\n  /**\n   * Get the statistics for a particular file system.\n   * \n   * @param uri\n   *          used as key to lookup STATISTICS_TABLE. Only scheme and authority\n   *          part of the uri are used.\n   * @return a statistics object\n   */\n  protected static synchronized Statistics getStatistics(URI uri) {\n    String scheme = uri.getScheme();\n    if (scheme == null) {\n      throw new IllegalArgumentException(\"Scheme not defined in the uri: \"","sourceCodeStart":158,"sourceCodeEnd":194,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java#L158-L194","documentation":"Error \"%s=null: %s: %s\" thrown in apache/hadoop.","triggerScenarios":"Raised at runtime when the documented precondition or configuration requirement for this operation is violated.","commonSituations":"Misconfigured or missing property, invalid user input, or calling the API before its prerequisites are met.","solutions":["The URI lacks the required component; supply a complete URI with scheme and authority."],"exampleFix":"Use hdfs://namenode:8020/... instead of a bare path.","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"}