{"record":{"id":"742aadc80f734906","repo":"apache/hadoop","slug":"mount-table-mounttablename-has-already-been-conf-742aad","errorCode":null,"errorMessage":"Mount table {mountTableName} has already been configured with a merge slash link. Multiple merge slash links for the same mount table is not allowed.","messagePattern":"Mount table (.+?) has already been configured with a merge slash link\\. Multiple merge slash links for the same mount table is not allowed\\.","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":710,"sourceCode":"      }\n\n      final String target = si.getValue();\n      if (linkType != LinkType.MERGE_SLASH) {\n        if (isMergeSlashConfigured) {\n          throw new IOException(\"Mount table \" + mountTableName\n              + \" has already been configured with a merge slash link. \"\n              + \"A regular link should not be added.\");\n        }\n        linkEntries.add(\n            new LinkEntry(src, target, linkType, settings, ugi, config));\n      } else {\n        if (!linkEntries.isEmpty()) {\n          throw new IOException(\"Mount table \" + mountTableName\n              + \" has already been configured with regular links. \"\n              + \"A merge slash link should not be configured.\");\n        }\n        if (isMergeSlashConfigured) {\n          throw new IOException(\"Mount table \" + mountTableName\n              + \" has already been configured with a merge slash link. \"\n              + \"Multiple merge slash links for the same mount table is \"\n              + \"not allowed.\");\n        }\n        isMergeSlashConfigured = true;\n        mergeSlashTarget = target;\n      }\n    } // End of for loop.\n\n    if (isMergeSlashConfigured) {\n      Preconditions.checkNotNull(mergeSlashTarget);\n      root = new INodeLink<T>(mountTableName, ugi,\n          initAndGetTargetFs(), mergeSlashTarget);\n      mountPoints.add(new MountPoint<T>(\"/\", (INodeLink<T>) root));\n      rootFallbackLink = null;\n    } else {\n      root = new INodeDir<T>(\"/\", UserGroupInformation.getCurrentUser());\n      getRootDir().setInternalDirFs(getTargetFileSystem(getRootDir()));","sourceCodeStart":692,"sourceCodeEnd":728,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java#L692-L728","documentation":"Error \"Mount table {mountTableName} has already been configured with a merge slash link. Multiple merge slash links for the same mount table is not allowed.\" thrown in apache/hadoop.","triggerScenarios":"Thrown during ViewFs mount table initialization when more than one merge-slash link is configured for the same mount table.","commonSituations":"See trigger scenarios.","solutions":["Configure only one linkMergeSlash entry per mount table.","Remove the duplicate merge slash link entries from the 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-23T01:17:44.959Z"}