{"record":{"id":"934374ab7c3a9ade","repo":"apache/hadoop","slug":"pool-found-without-ownername","errorCode":null,"errorMessage":"<pool> found without <ownerName>","messagePattern":"<pool> found without <ownerName>","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":1136,"sourceCode":"        loadNodeChildren(pool, \"directive fields\", \"\");\n        processDirectiveXml(node);\n      }\n      expectTagEnd(CACHE_MANAGER_SECTION_NAME);\n      recordSectionLength(SectionName.CACHE_MANAGER.name());\n    }\n\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);","sourceCodeStart":1118,"sourceCodeEnd":1154,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/OfflineImageReconstructor.java#L1118-L1154","documentation":"Error \"<pool> found without <ownerName>\" thrown in apache/hadoop.","triggerScenarios":"Thrown by oiv -r when a <pool> stanza lacks the mandatory <ownerName> element.","commonSituations":"See trigger scenarios.","solutions":["Add the missing <ownerName> 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"}