{"record":{"id":"3a4adf3e64d04b3a","repo":"apache/hadoop","slug":"viewfs-mount-points-initialization-error-invalid","errorCode":null,"errorMessage":"ViewFs: Mount points initialization error. Invalid {targetMntEntryKey} entry in config: {mntEntryKey}","messagePattern":"ViewFs: Mount points initialization error\\. Invalid (.+?) entry in config: (.+?)","errorType":"validation","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java","lineNumber":801,"sourceCode":"        if (o1 == null) {\n          return -1;\n        }\n        if (o2 == null) {\n          return 1;\n        }\n        String src1 = o1.getSrc();\n        String src2=  o2.getSrc();\n        return src1.compareTo(src2);\n      }\n    });\n    sortedLinkEntries.addAll(linkEntries);\n    return sortedLinkEntries;\n  }\n\n  private void checkMntEntryKeyEqualsTarget(\n      String mntEntryKey, String targetMntEntryKey) throws IOException {\n    if (!mntEntryKey.equals(targetMntEntryKey)) {\n      throw new IOException(\"ViewFs: Mount points initialization error.\" +\n          \" Invalid \" + targetMntEntryKey +\n          \" entry in config: \" + mntEntryKey);\n    }\n  }\n\n  private void addRegexMountEntry(LinkEntry le) throws IOException {\n    LOGGER.info(\"Add regex mount point:\" + le.getSrc()\n        + \", target:\" + le.getTarget()\n        + \", interceptor settings:\" + le.getSettings());\n    RegexMountPoint regexMountPoint =\n        new RegexMountPoint<T>(\n            this, le.getSrc(), le.getTarget(), le.getSettings());\n    regexMountPoint.initialize();\n    regexMountPointList.add(regexMountPoint);\n  }\n\n  private LinkEntry buildLinkRegexEntry(\n      Configuration config, UserGroupInformation ugi,","sourceCodeStart":783,"sourceCodeEnd":819,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java#L783-L819","documentation":"Error \"ViewFs: Mount points initialization error. Invalid {targetMntEntryKey} entry in config: {mntEntryKey}\" thrown in apache/hadoop.","triggerScenarios":"Thrown during ViewFs mount point initialization when a mount entry (e.g. linkNfly) references an invalid or malformed entry in the configuration.","commonSituations":"See trigger scenarios.","solutions":["Fix the mount table entry referenced in the message; its target configuration key is invalid.","Ensure each mount entry key maps to a valid target URI configuration."],"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"}