[
https://issues.apache.org/jira/browse/HDFS-13250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16404320#comment-16404320
]
Yiqun Lin commented on HDFS-13250:
----------------------------------
The latest patch looks good to me. Just catch one nit:
{code:java}
RemoteMethod method = new RemoteMethod("create",
new Class<?>[] {String.class, FsPermission.class, String.class,
@@ -580,7 +591,8 @@ public LastBlockWithStatus append(String src, final String
clientName,
RemoteMethod method = new RemoteMethod("append",
new Class<?>[] {String.class, String.class, EnumSetWritable.class},
new RemoteParam(), clientName, flag);
- return (LastBlockWithStatus) rpcClient.invokeSequential(
+System.out.println("APPENDING to " + src + " locs=" + locations);
+ return rpcClient.invokeSequential(
locations, method, LastBlockWithStatus.class, null);
}
{code}
We may remove system-out print line or another way for using LOG.debug to print
this.
> RBF: Router to manage requests across multiple subclusters
> ----------------------------------------------------------
>
> Key: HDFS-13250
> URL: https://issues.apache.org/jira/browse/HDFS-13250
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Íñigo Goiri
> Assignee: Íñigo Goiri
> Priority: Major
> Attachments: HDFS-13250.000.patch, HDFS-13250.001.patch,
> HDFS-13250.002.patch, HDFS-13250.003.patch
>
>
> HDFS-13124 introduces the concept of mount points spanning multiple
> subclusters. The Router should distribute the requests across these
> subclusters.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]