smengcl commented on PR #2917:
URL: https://github.com/apache/ozone/pull/2917#issuecomment-1472905553

   Need to rebase this one. Not working on a recent OM DB:
   
   ```
   ❯ ./bin/ozone debug ldb --db=${HOME}/om.db scan --column_family=fileTable
   2023-03-16 16:46:06,016 [main] INFO codec.RepeatedOmKeyInfoCodec: 
RepeatedOmKeyInfoCodec ignorePipeline = true
   2023-03-16 16:46:06,018 [main] INFO codec.OmKeyInfoCodec: OmKeyInfoCodec 
ignorePipeline = true
   2023-03-16 16:46:06,018 [main] INFO codec.OmKeyInfoCodec: OmKeyInfoCodec 
ignorePipeline = true
   2023-03-16 16:46:06,021 [main] INFO codec.OmKeyInfoCodec: OmKeyInfoCodec 
ignorePipeline = true
   2023-03-16 16:46:06,021 [main] INFO codec.OmKeyInfoCodec: OmKeyInfoCodec 
ignorePipeline = true
   2023-03-16 16:46:06,021 [main] INFO codec.OmKeyInfoCodec: OmKeyInfoCodec 
ignorePipeline = true
   Added definition for table:deletedTable
   Added definition for table:userTable
   Added definition for table:volumeTable
   Added definition for table:openKeyTable
   Added definition for table:keyTable
   Added definition for table:bucketTable
   Added definition for table:multipartInfoTable
   Added definition for table:prefixTable
   Added definition for table:dTokenTable
   Added definition for table:s3SecretTable
   Added definition for table:transactionInfoTable
   Added definition for table:directoryTable
   Added definition for table:fileTable
   Added definition for table:openFileTable
   Added definition for table:deletedDirectoryTable
   Added definition for table:metaTable
   Added definition for table:tenantAccessIdTable
   Added definition for table:principalToAccessIdsTable
   Added definition for table:tenantStateTable
   No serializer found for class com.google.protobuf.UnknownFieldSet$Parser and 
no properties discovered to create BeanSerializer (to avoid exception, disable 
SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: 
java.util.LinkedHashMap["/-9223372036854774528/-9223372036854774016/-9223372036854773503/key1"]->org.apache.hadoop.ozone.om.helpers.OmKeyInfo["keyLocationVersions"]->java.util.ArrayList[0]->org.apache.hadoop.ozone.om.helpers.OmKeyLocationInfoGroup["locationList"]->java.util.ArrayList[0]->org.apache.hadoop.ozone.om.helpers.OmKeyLocationInfo["blockID"]->org.apache.hadoop.hdds.client.BlockID["containerBlockID"]->org.apache.hadoop.hdds.client.ContainerBlockID["protobuf"]->org.apache.hadoop.hdds.protocol.proto.HddsProtos$ContainerBlockID["unknownFields"]->com.google.protobuf.UnknownFieldSet["parserForType"])
   ```
   
   while the ldb tool compiled from latest master works:
   
   ```
   ❯ ./bin/ozone debug ldb --db=${HOME}/om.db scan --column_family=fileTable
   {
     "volumeName": "vol1",
     "bucketName": "buck1",
     "keyName": "key1",
     "dataSize": 7,
     "keyLocationVersions": [
       {
         "version": 0,
         "locationVersionMap": {
           "0": [
             {
               "blockID": {
   ...
   ```


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