You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ay...@apache.org on 2021/03/13 22:38:07 UTC
[hadoop] branch trunk updated: HDFS-15884. RBF: Remove unused
method getCreateLocation in RouterRpcServer (#2754). Contributed by
tomscut.
This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new e565b05 HDFS-15884. RBF: Remove unused method getCreateLocation in RouterRpcServer (#2754). Contributed by tomscut.
e565b05 is described below
commit e565b05c80c731898a54f8c1d358c12090ca5bbf
Author: litao <to...@gmail.com>
AuthorDate: Sun Mar 14 06:37:31 2021 +0800
HDFS-15884. RBF: Remove unused method getCreateLocation in RouterRpcServer (#2754). Contributed by tomscut.
---
.../hdfs/server/federation/router/RouterRpcServer.java | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java
index 1d0800e..6bf159f 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java
@@ -776,20 +776,6 @@ public class RouterRpcServer extends AbstractService implements ClientProtocol,
replication, blockSize, supportedVersions, ecPolicyName, storagePolicy);
}
-
- /**
- * Get the location to create a file. It checks if the file already existed
- * in one of the locations.
- *
- * @param src Path of the file to check.
- * @return The remote location for this file.
- * @throws IOException If the file has no creation location.
- */
- RemoteLocation getCreateLocation(final String src) throws IOException {
- final List<RemoteLocation> locations = getLocationsForPath(src, true);
- return getCreateLocation(src, locations);
- }
-
/**
* Get the location to create a file. It checks if the file already existed
* in one of the locations.
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org