{"record":{"id":"e4769b3d0066c939","repo":"apache/hadoop","slug":"block-pool-bpid-is-not-found-e4769b","errorCode":null,"errorMessage":"block pool ${bpid} is not found","messagePattern":"block pool (.+?) is not found","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/ProvidedVolumeImpl.java","lineNumber":536,"sourceCode":"      throws DiskErrorException {\n    return VolumeCheckResult.HEALTHY;\n  }\n\n  @Override\n  void getVolumeMap(ReplicaMap volumeMap,\n      final RamDiskReplicaTracker ramDiskReplicaMap)\n          throws IOException {\n    LOG.info(\"Creating volumemap for provided volume \" + this);\n    for (ProvidedBlockPoolSlice s : bpSlices.values()) {\n      s.fetchVolumeMap(volumeMap, ramDiskReplicaMap, remoteFS);\n    }\n  }\n\n  private ProvidedBlockPoolSlice getProvidedBlockPoolSlice(String bpid)\n      throws IOException {\n    ProvidedBlockPoolSlice bp = bpSlices.get(bpid);\n    if (bp == null) {\n      throw new IOException(\"block pool \" + bpid + \" is not found\");\n    }\n    return bp;\n  }\n\n  @Override\n  void getVolumeMap(String bpid, ReplicaMap volumeMap,\n      final RamDiskReplicaTracker ramDiskReplicaMap)\n          throws IOException {\n    getProvidedBlockPoolSlice(bpid).fetchVolumeMap(volumeMap, ramDiskReplicaMap,\n        remoteFS);\n  }\n\n  @VisibleForTesting\n  BlockAliasMap<FileRegion> getBlockFormat(String bpid) throws IOException {\n    return getProvidedBlockPoolSlice(bpid).getBlockAliasMap();\n  }\n\n  @Override","sourceCodeStart":518,"sourceCodeEnd":554,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/ProvidedVolumeImpl.java#L518-L554","documentation":"Error \"block pool ${bpid} is not found\" thrown in apache/hadoop.","triggerScenarios":"Access to a block pool on a PROVIDED volume when that block pool id has not been loaded/registered on the DataNode.","commonSituations":"See trigger scenarios.","solutions":["Verify the block pool ID is correct and that the provided volume has been initialized for that block pool.","Check NameNode/DataNode federation configuration so the block pool exists on this storage."],"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"}