devmadhuu opened a new pull request, #4159:
URL: https://github.com/apache/ozone/pull/4159

   This JIRA is a bug in code while updating OM DB snapshots in Recon where 
framework for applying DB updates assumes storing OM DB updates in a event map 
with table keyType as "String" and while doing codec deserializing and type 
casting for DTOKENTABLE, it throws ClassCastException because for DTOKENTABLE, 
table key type is of "OzoneTokenIdentifier" class instead of String. 
   
   **_Patch Fix:_**
   This patch is fixed by skipping any updates or syncing of table DTOKENTABLE 
in Recon because Recon don't use this table for any use case as of now. If in 
future , DTOKENTABLE table data is needed, all events for this table updates 
will be saved using Object as key and new task will also retrieve using Object 
as key.
   
   https://issues.apache.org/jira/browse/HDDS-7455
   
   This patch was tested manually by creating secure cluster and tested with 
creating entry for DelegationToken type in dTokenTable.
   


-- 
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: [email protected]

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