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

Ayush Saxena commented on HDFS-14331:
-------------------------------------

Thanx [~surendrasingh] for putting this up. Have uploaded the patch with the 
fix.

It was because of trying to clear the quota while removing the mount, Since the 
destination didn't exist. It was throwing exception.
No point blocking removal of mount on account of any exception in course of 
removal of destination quota. Have ignored any such occurrence.

Pls Review!!!! 

> RBF: IOE While Removing Mount Entry
> -----------------------------------
>
>                 Key: HDFS-14331
>                 URL: https://issues.apache.org/jira/browse/HDFS-14331
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: rbf
>    Affects Versions: 3.1.1
>            Reporter: Surendra Singh Lilhore
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-14331-HDFS-13891-01.patch
>
>
> IOException while trying to remove the mount entry when the actual 
> destination doesn't exist.
> {noformat}
> java.io.IOException: Directory does not exist: /mount at 
> org.apache.hadoop.hdfs.server.namenode.INodeDirectory.valueOf(INodeDirectory.java:59)
>  at 
> org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.unprotectedSetQuota(FSDirAttrOp.java:334)
>  at 
> org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.setQuota(FSDirAttrOp.java:244)
>  at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setQuota(FSNamesystem.java:3352)
>  at 
> org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.setQuota(NameNodeRpcServer.java:1484)
>  at 
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.setQuota(ClientNamenodeProtocolServerSideTranslatorPB.java:1042)
>  at 
> org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:37182)
>  at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:530)
>  at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1070) at 
> org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:943) at 
> org.apache.hadoop.ipc.Server$Call.run(Server.java:1) at 
> javax.security.auth.Subject.doAs(Subject.java:422) at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1891)
>  at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2825)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to