adoroszlai opened a new pull request #2330:
URL: https://github.com/apache/ozone/pull/2330


   ## What changes were proposed in this pull request?
   
   If Jaeger tracing is enabled key creation request fails due to:
   
   ```
   NoSuchMethodException: Method not found: allocateBlock
        at 
org.apache.hadoop.hdds.tracing.TraceAllMethod.invoke(TraceAllMethod.java:65)
        at com.sun.proxy.$Proxy36.allocateBlock(Unknown Source)
        at 
org.apache.hadoop.ozone.om.request.key.OMKeyRequest.allocateBlock(OMKeyRequest.java:130)
        at 
org.apache.hadoop.ozone.om.request.key.OMKeyCreateRequest.preExecute(OMKeyCreateRequest.java:151)
        at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.processRequest(OzoneManagerProtocolServerSideTranslatorPB.java:139)
        at 
org.apache.hadoop.hdds.server.OzoneProtocolMessageDispatcher.processRequest(OzoneProtocolMessageDispatcher.java:87)
        at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequest(OzoneManagerProtocolServerSideTranslatorPB.java:122)
   ```
   
   https://issues.apache.org/jira/browse/HDDS-5335
   
   ## How was this patch tested?
   
   Tested key creation in `ozone` Docker Compose environment with Jaeger 
enabled:
   
   ```
   cd hadoop-ozone/dist/target/ozone-*/compose/ozone
   export COMPOSE_FILE=docker-compose.yaml:monitoring.yaml
   
   # console 1
   OZONE_REPLICATION_FACTOR=3 ./run.sh
   
   # console 2
   docker-compose exec -T scm ozone freon ockg -n1 -t1
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to