{"record":{"id":"1460a214fe588a37","repo":"apache/hadoop","slug":"doesn-t-exist","errorCode":null,"errorMessage":"{} doesn't exist.","messagePattern":"(.+?) doesn't exist\\.","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java","lineNumber":746,"sourceCode":"      return updated;\n    }\n  }\n\n  /**\n   * Update a mount table entry.\n   *\n   * @param parameters Parameters for the mount point.\n   * @param i Index in the parameters.\n   * @return If it updated the mount point successfully.\n   * @throws IOException If there is an error.\n   */\n  public boolean updateMount(String[] parameters, int i) throws IOException {\n    String mount = parameters[i++];\n    mount = normalizeFileSystemPath(mount);\n    MountTableManager mountTable = client.getMountTableManager();\n    MountTable existingEntry = getMountEntry(mount, mountTable);\n    if (existingEntry == null) {\n      throw new IOException(mount + \" doesn't exist.\");\n    }\n    // Check if the destination needs to be updated.\n\n    if (!parameters[i].startsWith(\"-\")) {\n      String[] nss = parameters[i++].split(\",\");\n      String dest = parameters[i++];\n      Map<String, String> destMap = new LinkedHashMap<>();\n      for (String ns : nss) {\n        destMap.put(ns, dest);\n      }\n      final List<RemoteLocation> locations = new LinkedList<>();\n      for (Entry<String, String> entry : destMap.entrySet()) {\n        String nsId = entry.getKey();\n        String path = normalizeFileSystemPath(entry.getValue());\n        RemoteLocation location = new RemoteLocation(nsId, path, mount);\n        locations.add(location);\n      }\n      existingEntry.setDestinations(locations);","sourceCodeStart":728,"sourceCodeEnd":764,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java#L728-L764","documentation":"Error \"{} doesn't exist.\" thrown in apache/hadoop.","triggerScenarios":"RouterAdmin lookup of a mount table entry failed for the given path.","commonSituations":"Attempting to update/remove/disable a mount entry that was never created or was already removed.","solutions":["Verify the mount/path exists with dfsrouteradmin -ls before modifying it.","Check for typos in the path; paths are case-sensitive and must be absolute."],"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"}