You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Zhe Zhang (JIRA)" <ji...@apache.org> on 2015/08/28 08:54:46 UTC

[jira] [Reopened] (HDFS-8987) Erasure coding: MapReduce job failed when I set the / folder to the EC zone

     [ https://issues.apache.org/jira/browse/HDFS-8987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhe Zhang reopened HDFS-8987:
-----------------------------

> Erasure coding: MapReduce job failed when I set the / folder to the EC zone 
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-8987
>                 URL: https://issues.apache.org/jira/browse/HDFS-8987
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: HDFS
>    Affects Versions: 3.0.0
>            Reporter: Lifeng Wang
>
> Test progress is as follows
>  * For a new cluster, I format the namenode and then start HDFS service.
>  * After HDFS service is started, there is no files in  HDFS and set the / folder to the EC zone. the EC zone is created successfully.
>  * Start the yarn and mr JobHistoryServer services. All the services start successfully.
>  * Then run hadoop example pi program and it failed.
> The following is the exception.
> {noformat}
>  ```
> org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.UnsupportedActionException): Cannot set replication to a file with striped blocks
> 	at org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.unprotectedSetReplication(FSDirAttrOp.java:391)
> 	at org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.setReplication(FSDirAttrOp.java:151)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setReplication(FSNamesystem.java:2231)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.setReplication(NameNodeRpcServer.java:682)
> 	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.setReplication(ClientNamenodeProtocolServerSideTranslatorPB.java:445)
> 	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
> 	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:636)
> 	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:976)
> 	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2171)
> 	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2167)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:422)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1666)
> 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2165)
> ```
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)