{"record":{"id":"561f8aec88bf3410","repo":"apache/hadoop","slug":"pool-found-without-groupname","errorCode":null,"errorMessage":"<pool> found without <groupName>","messagePattern":"<pool> found without <groupName>","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/OfflineImageReconstructor.java","lineNumber":1142,"sourceCode":"\n    private void processPoolXml(Node pool) throws IOException {\n      CachePoolInfoProto.Builder bld = CachePoolInfoProto.newBuilder();\n      String poolName =\n          pool.removeChildStr(CACHE_MANAGER_SECTION_POOL_NAME);\n      if (poolName == null) {\n        throw new IOException(\"<pool> found without <poolName>\");\n      }\n      bld.setPoolName(poolName);\n      String ownerName =\n          pool.removeChildStr(CACHE_MANAGER_SECTION_OWNER_NAME);\n      if (ownerName == null) {\n        throw new IOException(\"<pool> found without <ownerName>\");\n      }\n      bld.setOwnerName(ownerName);\n      String groupName =\n          pool.removeChildStr(CACHE_MANAGER_SECTION_GROUP_NAME);\n      if (groupName == null) {\n        throw new IOException(\"<pool> found without <groupName>\");\n      }\n      bld.setGroupName(groupName);\n      Integer mode = pool.removeChildInt(CACHE_MANAGER_SECTION_MODE);\n      if (mode == null) {\n        throw new IOException(\"<pool> found without <mode>\");\n      }\n      bld.setMode(mode);\n      Long limit = pool.removeChildLong(CACHE_MANAGER_SECTION_LIMIT);\n      if (limit == null) {\n        throw new IOException(\"<pool> found without <limit>\");\n      }\n      bld.setLimit(limit);\n      Long maxRelativeExpiry =\n          pool.removeChildLong(CACHE_MANAGER_SECTION_MAX_RELATIVE_EXPIRY);\n      if (maxRelativeExpiry == null) {\n        throw new IOException(\"<pool> found without <maxRelativeExpiry>\");\n      }\n      bld.setMaxRelativeExpiry(maxRelativeExpiry);","sourceCodeStart":1124,"sourceCodeEnd":1160,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/OfflineImageReconstructor.java#L1124-L1160","documentation":"Error \"<pool> found without <groupName>\" thrown in apache/hadoop.","triggerScenarios":"Thrown by oiv -r when a <pool> stanza lacks the mandatory <groupName> element.","commonSituations":"See trigger scenarios.","solutions":["Add the missing <groupName> element to the <pool> stanza in the fsimage XML.","Regenerate the fsimage XML with 'hdfs oiv' from a valid fsimage."],"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"}