You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/08/18 05:09:46 UTC

[GitHub] [ozone] zhengchenyu opened a new pull request #2551: HDDS-5633. Can't allocateBlock if tracing is enable.

zhengchenyu opened a new pull request #2551:
URL: https://github.com/apache/ozone/pull/2551


   If tracing is enable, when I execute 'ozone fs -put a ofs://test1/volume1/bucket1/c', will throw exception. And OM's error log like below:
   
   ```
   2021-08-13 12:15:47,456 [IPC Server handler 61 on default port 9862] INFO org.apache.hadoop.ipc.Server: IPC Server handler 61 on default port 9862, call Call#8 Retry#0 org.apache.hadoop.ozone.om.protocol.OzoneManagerProtocol.submitRequest from 10.201.1.11:36224
   java.lang.NoSuchMethodException: Method not found: allocateBlock
           at org.apache.hadoop.hdds.tracing.TraceAllMethod.invoke(TraceAllMethod.java:65)
           at com.sun.proxy.$Proxy35.allocateBlock(Unknown Source)
           at org.apache.hadoop.ozone.om.request.key.OMKeyRequest.allocateBlock(OMKeyRequest.java:130)
           at org.apache.hadoop.ozone.om.request.file.OMFileCreateRequest.preExecute(OMFileCreateRequest.java:132)
           at org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.processRequest(OzoneManagerProtocolServerSideTranslatorPB.java:138)
           at org.apache.hadoop.hdds.server.OzoneProtocolMessageDispatcher.processRequest(OzoneProtocolMessageDispatcher.java:87)
           at org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequest(OzoneManagerProtocolServerSideTranslatorPB.java:123)
           at org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos$OzoneManagerService$2.callBlockingMethod(OzoneManagerProtocolProtos.java)
           at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.processCall(ProtobufRpcEngine.java:466)
           at org.apache.hadoop.ipc.ProtobufRpcEngine2$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine2.java:574)
           at org.apache.hadoop.ipc.ProtobufRpcEngine2$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine2.java:552)
           at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1093)
           at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:1035)
           at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:963)
           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:1878)
           at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2966)
   ```
   
   The reason is that the method "allocateBlock(long size, int numBlocks, ReplicationType type, ReplicationFactor factor, String owner, ExcludeList excludeList)" is not implement in ScmBlockLocationProtocolClientSideTranslatorPB. So findDelegatedMethod can't find this method. 
   
   As this method is deprecated, we should remove this method.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] zhengchenyu commented on pull request #2551: HDDS-5633. Can't allocateBlock if tracing is enable.

Posted by GitBox <gi...@apache.org>.
zhengchenyu commented on pull request #2551:
URL: https://github.com/apache/ozone/pull/2551#issuecomment-900855822


   @adoroszlai okay, I didn't notice that PR before, look forward to merge. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] adoroszlai closed pull request #2551: HDDS-5633. Can't allocateBlock if tracing is enable.

Posted by GitBox <gi...@apache.org>.
adoroszlai closed pull request #2551:
URL: https://github.com/apache/ozone/pull/2551


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] zhengchenyu commented on pull request #2551: HDDS-5633. Can't allocateBlock if tracing is enable.

Posted by GitBox <gi...@apache.org>.
zhengchenyu commented on pull request #2551:
URL: https://github.com/apache/ozone/pull/2551#issuecomment-900855822


   @adoroszlai okay, I didn't notice that PR before, look forward to merge. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] adoroszlai commented on pull request #2551: HDDS-5633. Can't allocateBlock if tracing is enable.

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #2551:
URL: https://github.com/apache/ozone/pull/2551#issuecomment-900852116


   Thanks @zhengchenyu for reporting the problem and proposing a fix.  The same issue was already filed in HDDS-5335 and being fixed in #2330.  It's just waiting for a final approval by @elek.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] adoroszlai commented on pull request #2551: HDDS-5633. Can't allocateBlock if tracing is enable.

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #2551:
URL: https://github.com/apache/ozone/pull/2551#issuecomment-900852116


   Thanks @zhengchenyu for reporting the problem and proposing a fix.  The same issue was already filed in HDDS-5335 and being fixed in #2330.  It's just waiting for a final approval by @elek.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] adoroszlai closed pull request #2551: HDDS-5633. Can't allocateBlock if tracing is enable.

Posted by GitBox <gi...@apache.org>.
adoroszlai closed pull request #2551:
URL: https://github.com/apache/ozone/pull/2551


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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