[
https://issues.apache.org/jira/browse/HDFS-12919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16288411#comment-16288411
]
Robert Kanter commented on HDFS-12919:
--------------------------------------
I don't know enough about the {{RouterRpcServer}}, but MAPREDUCE-6954 does a
check for {{instanceof DistributedFileSystem}} before casting the
{{FileSystem}} to a {{DistributedFileSystem}} and calling
{{setErasureCodingPolicy}}. Is the {{RouterRpcServer}} a subclass of
{{DistributedFileSystem}}? If so, then it should implement everything that
{{DistributedFileSystem}}, including {{setErasureCodingPolicy}} (so, #3). If
not, then it shouldn't be possible to hit this.
> RBF: MR sets erasure coding by default
> --------------------------------------
>
> Key: HDFS-12919
> URL: https://issues.apache.org/jira/browse/HDFS-12919
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Íñigo Goiri
> Assignee: Íñigo Goiri
>
> 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]