[
https://issues.apache.org/jira/browse/HDDS-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDDS-3069:
--------------------------------
Summary: UpdateID check should be skipped for non-HA OzoneManager (was:
Delete key is failing)
> UpdateID check should be skipped for non-HA OzoneManager
> --------------------------------------------------------
>
> Key: HDDS-3069
> URL: https://issues.apache.org/jira/browse/HDDS-3069
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Manager
> Reporter: Nilotpal Nandi
> Assignee: Bharat Viswanadham
> Priority: Blocker
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Delete key is failing . Here is the stack trace of the failure:
>
>
> {noformat}
> INFO retry.RetryInvocationHandler: com.google.protobuf.ServiceException:
> org.apache.hadoop.ipc.RemoteException(java.lang.IllegalArgumentException):
> Trying to set updateID to 26 which is not greater than the current value of
> 433 for OMKeyInfo{volume='vol-test-restartcomponentozonereaddata-1582093704',
> bucket='buck-test-restartcomponentozonereaddata-1582093704',
> key='ReadOzoneFile_1582093709', dataSize='10485760',
> creationTime='1582093712218', type='RATIS', factor='THREE'} E at
> com.google.common.base.Preconditions.checkArgument(Preconditions.java:142) E
> at
> org.apache.hadoop.ozone.om.helpers.WithObjectID.setUpdateID(WithObjectID.java:79)
> E at
> org.apache.hadoop.ozone.om.request.key.OMKeyDeleteRequest.validateAndUpdateCache(OMKeyDeleteRequest.java:147)
> E at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler.handleWriteRequest(OzoneManagerRequestHandler.java:230)
> E at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequestDirectlyToOM(OzoneManagerProtocolServerSideTranslatorPB.java:210)
> E at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.processRequest(OzoneManagerProtocolServerSideTranslatorPB.java:130)
> E at
> org.apache.hadoop.hdds.server.OzoneProtocolMessageDispatcher.processRequest(OzoneProtocolMessageDispatcher.java:72)
> E at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequest(OzoneManagerProtocolServerSideTranslatorPB.java:98)
> E at
> org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos$OzoneManagerService$2.callBlockingMethod(OzoneManagerProtocolProtos.java)
> E at
> org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:528)
> E at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1070) E at
> org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:984) E at
> org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:912) E at
> java.base/java.security.AccessController.doPrivileged(Native Method) E at
> java.base/javax.security.auth.Subject.doAs(Subject.java:423) E at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1876)
> E at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2882) E , while
> invoking $Proxy16.submitRequest over
> nodeId=null,nodeAddress=quasar-vbncen-3.quasar-vbncen.root.hwx.site:9862.
> Trying to failover immediately.
>
> ..
> ..
> ..
> ..
>
> 20/02/19 03:37:17 INFO retry.RetryInvocationHandler:
> com.google.protobuf.ServiceException:
> org.apache.hadoop.ipc.RemoteException(java.lang.IllegalArgumentException):
> Trying to set updateID to 22 which is not greater than the current value of
> 1143 for OMKeyInfo{volume='vol-test-kill-datanode-1582075168',
> bucket='buck-test-kill-datanode-1582075168',
> key='replication_test1_1582075173', dataSize='104857600',
> creationTime='1582075177268', type='RATIS', factor='THREE'} E at
> com.google.common.base.Preconditions.checkArgument(Preconditions.java:142) E
> at
> org.apache.hadoop.ozone.om.helpers.WithObjectID.setUpdateID(WithObjectID.java:79)
> E at
> org.apache.hadoop.ozone.om.request.key.OMKeyDeleteRequest.validateAndUpdateCache(OMKeyDeleteRequest.java:147)
> E at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler.handleWriteRequest(OzoneManagerRequestHandler.java:230)
> E at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequestDirectlyToOM(OzoneManagerProtocolServerSideTranslatorPB.java:210)
> E at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.processRequest(OzoneManagerProtocolServerSideTranslatorPB.java:130)
> E at
> org.apache.hadoop.hdds.server.OzoneProtocolMessageDispatcher.processRequest(OzoneProtocolMessageDispatcher.java:72)
> E at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequest(OzoneManagerProtocolServerSideTranslatorPB.java:98)
> E at
> org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos$OzoneManagerService$2.callBlockingMethod(OzoneManagerProtocolProtos.java)
> E at
> org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:528)
> E at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1070) E at
> org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:984) E at
> org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:912) E at
> java.base/java.security.AccessController.doPrivileged(Native Method) E at
> java.base/javax.security.auth.Subject.doAs(Subject.java:423) E at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1876)
> E at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2882) E , while
> invoking $Proxy16.submitRequest over
> nodeId=null,nodeAddress=quasar-vbncen-3.quasar-vbncen.root.hwx.site:9862
> after 15 failover attempts. Trying to failover immediately. E 2020-02-19
> 03:37:17,895 [main] ERROR ha.OMFailoverProxyProvider
> (OzoneManagerProtocolClientSideTranslatorPB.java:getRetryAction(287)) -
> Failed to connect to OMs:
> [nodeId=null,nodeAddress=quasar-vbncen-3.quasar-vbncen.root.hwx.site:9862].
> Attempted 15 failovers. E 20/02/19 03:37:17 ERROR ha.OMFailoverProxyProvider:
> Failed to connect to OMs:
> [nodeId=null,nodeAddress=quasar-vbncen-3.quasar-vbncen.root.hwx.site:9862].
> Attempted 15 failovers. E Trying to set updateID to 23 which is not greater
> than the current value of 1143 for
> OMKeyInfo{volume='vol-test-kill-datanode-1582075168',
> bucket='buck-test-kill-datanode-1582075168',
> key='replication_test1_1582075173', dataSize='104857600',
> creationTime='1582075177268', type='RATIS', factor='THREE'}]
> {noformat}
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]