[ 
https://issues.apache.org/jira/browse/HDFS-12919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315417#comment-16315417
 ] 

Íñigo Goiri commented on HDFS-12919:
------------------------------------

[~linyiqun], while implementing this, I realized that the {{RouterRpcServer}} 
was becoming massive.
I think we can create modules for sets of functions (in this particular case 
erasure coding).
You may want to do something similar for the {{RouterRpcServer}} side of the 
quota management in HDFS-12934.
Take a look at [^HDFS-12919.008.patch] and let me know.
In addition, as I mentioned in HDFS-12934, I added a couple helper functions 
for merging results, etc.

> RBF: Support erasure coding methods in RouterRpcServer
> ------------------------------------------------------
>
>                 Key: HDFS-12919
>                 URL: https://issues.apache.org/jira/browse/HDFS-12919
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0
>            Reporter: Íñigo Goiri
>            Assignee: Íñigo Goiri
>            Priority: Critical
>              Labels: RBF
>         Attachments: HDFS-12919.000.patch, HDFS-12919.001.patch, 
> HDFS-12919.002.patch, HDFS-12919.003.patch, HDFS-12919.004.patch, 
> HDFS-12919.005.patch, HDFS-12919.006.patch, HDFS-12919.007.patch, 
> HDFS-12919.008.patch
>
>
> MAPREDUCE-6954 started to tune the erasure coding settings for staging files. 
> However, the {{Router}} does not support this operation and throws:
> {code}
> 17/12/12 14:36:07 INFO mapreduce.JobSubmitter: Cleaning up the staging area 
> /tmp/hadoop-yarn/staging/hadoop/.staging/job_1513116010218_0002
> org.apache.hadoop.ipc.RemoteException(java.lang.UnsupportedOperationException):
>  Operation "setErasureCodingPolicy" is not supported
>         at 
> org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.checkOperation(RouterRpcServer.java:368)
>         at 
> org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.setErasureCodingPolicy(RouterRpcServer.java:1805)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to