hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nilotpal Nandi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDDS-493) ozone fs rmdir not working
Date Tue, 18 Sep 2018 09:42:00 GMT

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

Nilotpal Nandi resolved HDDS-493.
---------------------------------
    Resolution: Not A Problem

> ozone fs rmdir not working
> --------------------------
>
>                 Key: HDDS-493
>                 URL: https://issues.apache.org/jira/browse/HDDS-493
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>    Affects Versions: 0.2.1
>            Reporter: Nilotpal Nandi
>            Assignee: Nilotpal Nandi
>            Priority: Major
>
>  
> ozone fs rmdir not working, also it does not throw any error on console.
> {noformat}
>  
>  
> [root@ctr-e138-1518143905142-468367-01-000002 ~]# ozone fs -ls /TESTDIR3
> 2018-09-18 07:27:36,275 [main] DEBUG - Using org.apache.hadoop.ozone.client.rpc.RpcClient
as client protocol.
> 2018-09-18 07:27:37,103 [main] DEBUG - Call: public abstract org.apache.hadoop.ozone.client.OzoneVolume
org.apache.hadoop.ozone.client.protocol.ClientProtocol.getVolumeDetails(java.lang.String)
throws java.io.IOException took 29 ms
> 2018-09-18 07:27:37,300 [shutdown-hook-0] DEBUG - Call: public abstract void org.apache.hadoop.ozone.client.protocol.ClientProtocol.close()
throws java.io.IOException took 2 ms
> [root@ctr-e138-1518143905142-468367-01-000002 ~]#
> [root@ctr-e138-1518143905142-468367-01-000002 ~]#
> [root@ctr-e138-1518143905142-468367-01-000002 ~]# ozone fs -rmdir /TESTDIR3
> 2018-09-18 07:27:51,320 [main] DEBUG - Using org.apache.hadoop.ozone.client.rpc.RpcClient
as client protocol.
> 2018-09-18 07:27:52,108 [main] DEBUG - Call: public abstract org.apache.hadoop.ozone.client.OzoneVolume
org.apache.hadoop.ozone.client.protocol.ClientProtocol.getVolumeDetails(java.lang.String)
throws java.io.IOException took 22 ms
> 2018-09-18 07:27:52,312 [shutdown-hook-0] DEBUG - Call: public abstract void org.apache.hadoop.ozone.client.protocol.ClientProtocol.close()
throws java.io.IOException took 1 ms
> {noformat}
>  
>  
> ozone.log
> -----------------
> {noformat}
> 2018-09-18 07:27:52,298 [IPC Server handler 2 on 9889] DEBUG (KeyManagerImpl.java:342)
- volume:fs-volume bucket:fs-bucket Key:TESTDIR3 not found
> 2018-09-18 07:27:52,298 [IPC Server handler 2 on 9889] ERROR (KeyManagerImpl.java:349)
- Get key failed for volume:fs-volume bucket:fs-bucket key:TESTDIR3
> org.apache.hadoop.ozone.om.exceptions.OMException: Key not found
>  at org.apache.hadoop.ozone.om.KeyManagerImpl.lookupKey(KeyManagerImpl.java:344)
>  at org.apache.hadoop.ozone.om.OzoneManager.lookupKey(OzoneManager.java:853)
>  at org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.lookupKey(OzoneManagerProtocolServerSideTranslatorPB.java:384)
>  at org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos$OzoneManagerService$2.callBlockingMethod(OzoneManagerProtocolProtos.java:35895)
>  at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524)
>  at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025)
>  at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876)
>  at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822)
>  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:1730)
>  at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682)
> 2018-09-18 07:27:52,305 [IPC Server handler 4 on 9889] DEBUG (KeyManagerImpl.java:452)
- Key TESTDIR3/ deleted from OM DB
> 2018-09-18 07:27:52,312 [shutdown-hook-0] DEBUG (OzoneClientInvocationHandler.java:55)
- Call: public abstract void org.apache.hadoop.ozone.client.protocol.ClientProtocol.close()
throws java.io.IOException took 1 ms{noformat}
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message