{"record":{"id":"7cea3d8926d5dece","repo":"apache/hadoop","slug":"remote-filesystem-for-provided-replica-this-doe","errorCode":null,"errorMessage":"Remote filesystem for provided replica ${this} does not exist","messagePattern":"Remote filesystem for provided replica (.+?) does not exist","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ProvidedReplica.java","lineNumber":201,"sourceCode":"  public InputStream getDataInputStream(long seekOffset) throws IOException {\n    if (remoteFS != null) {\n      FSDataInputStream ins;\n      try {\n        if (pathHandle != null) {\n          ins = remoteFS.open(pathHandle, conf.getInt(IO_FILE_BUFFER_SIZE_KEY,\n              IO_FILE_BUFFER_SIZE_DEFAULT));\n        } else {\n          ins = remoteFS.open(new Path(getRemoteURI()));\n        }\n      } catch (UnsupportedOperationException e) {\n        throw new IOException(\"PathHandle specified, but unsuported\", e);\n      }\n\n      ins.seek(fileOffset + seekOffset);\n      return new BoundedInputStream(\n          new FSDataInputStream(ins), getBlockDataLength());\n    } else {\n      throw new IOException(\"Remote filesystem for provided replica \" + this +\n          \" does not exist\");\n    }\n  }\n\n  @Override\n  public OutputStream getDataOutputStream(boolean append) throws IOException {\n    throw new UnsupportedOperationException(\n        \"OutputDataStream is not implemented for ProvidedReplica\");\n  }\n\n  @Override\n  public URI getMetadataURI() {\n    return null;\n  }\n\n  @Override\n  public OutputStream getMetadataOutputStream(boolean append)\n      throws IOException {","sourceCodeStart":183,"sourceCodeEnd":219,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ProvidedReplica.java#L183-L219","documentation":"Error \"Remote filesystem for provided replica ${this} does not exist\" thrown in apache/hadoop.","triggerScenarios":"Accessing a provided replica whose backing remote filesystem cannot be resolved or connected.","commonSituations":"The remote filesystem backing a provided replica is unavailable. Verify the mount or object-store connector for the provided storage.","solutions":["Verify the external filesystem/URI configured for provided storage is reachable and correctly configured (fs.provided.* settings).","Check credentials and network access to the remote store backing the provided replica."],"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-22T20:17:22.307Z"}