Skip to content

Commit c0d3b9d

Browse files
committed
fix check
1 parent 89c6c34 commit c0d3b9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterFederationRename.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ public RouterFederationRename(RouterRpcServer rpcServer, Configuration conf) {
9494
* @return true if rename succeeds.
9595
*/
9696
public boolean routerFedRename(final String src, final String dst,
97-
final List<RemoteLocation> srcLocations,
98-
final List<RemoteLocation> dstLocations) throws IOException {
97+
final List<RemoteLocation> srcLocations,
98+
final List<RemoteLocation> dstLocations) throws IOException {
9999
if (!rpcServer.isEnableRenameAcrossNamespace()) {
100100
throw new IOException("Rename of " + src + " to " + dst
101101
+ " is not allowed, no eligible destination in the same namespace was"

hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public class RouterRpcServer extends AbstractService implements ClientProtocol,
294294
*/
295295
@SuppressWarnings("checkstyle:MethodLength")
296296
public RouterRpcServer(Configuration conf, Router router,
297-
ActiveNamenodeResolver nnResolver, FileSubclusterResolver fileResolver)
297+
ActiveNamenodeResolver nnResolver, FileSubclusterResolver fileResolver)
298298
throws IOException {
299299
super(RouterRpcServer.class.getName());
300300

0 commit comments

Comments
 (0)