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 2022/08/25 07:11:10 UTC

[GitHub] [ozone] kaijchen opened a new pull request, #3719: HDDS-7173. Fix TestReconOmMetadataManagerImpl#testUpdateOmDB

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

   ## What changes were proposed in this pull request?
   
   Followup HDDS-7166 (#3713), UT is failling because Exception happened when creating new DBStore, which leads to DBStore not replaced.
   
   ```
   2022-08-25 15:10:45,751 [main] ERROR recovery.ReconOmMetadataManagerImpl (ReconOmMetadataManagerImpl.java:initializeNewRdbStore(94)) - Unable to initialize Recon OM DB snapshot store.
   java.io.IOException: Failed init RocksDB, db path : /var/folders/4k/0pm7c7vs4ds216sc45nft3l40000gn/T/junit4663311154991749567/junit8976120310500205625/db.checkpoints/om.db_checkpoint_1661411444529, exception :org.rocksdb.RocksDBException lock hold by current process, acquire time 1661411445 acquiring thread 13095075840: /var/folders/4k/0pm7c7vs4ds216sc45nft3l40000gn/T/junit4663311154991749567/junit8976120310500205625/db.checkpoints/om.db_checkpoint_1661411444529/LOCK: No locks available
   	at org.apache.hadoop.hdds.utils.db.RDBStore.<init>(RDBStore.java:118)
   	at org.apache.hadoop.hdds.utils.db.DBStoreBuilder.build(DBStoreBuilder.java:190)
   	at org.apache.hadoop.ozone.recon.recovery.ReconOmMetadataManagerImpl.initializeNewRdbStore(ReconOmMetadataManagerImpl.java:89)
   	at org.apache.hadoop.ozone.recon.recovery.ReconOmMetadataManagerImpl.updateOmDB(ReconOmMetadataManagerImpl.java:114)
   	at org.apache.hadoop.ozone.recon.recovery.TestReconOmMetadataManagerImpl.testUpdateOmDB(TestReconOmMetadataManagerImpl.java:136)
   ```
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7173
   
   ## How was this patch tested?
   
   TestReconOmMetadataManagerImpl#testUpdateOmDB
   


-- 
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] kaijchen commented on pull request #3719: HDDS-7173. Fix TestReconOmMetadataManagerImpl#testUpdateOmDB

Posted by GitBox <gi...@apache.org>.
kaijchen commented on PR #3719:
URL: https://github.com/apache/ozone/pull/3719#issuecomment-1226865958

   @duongnguyen0 @kerneltime PTAL, thanks.


-- 
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] duongnguyen0 commented on pull request #3719: HDDS-7173. Fix TestReconOmMetadataManagerImpl#testUpdateOmDB

Posted by GitBox <gi...@apache.org>.
duongnguyen0 commented on PR #3719:
URL: https://github.com/apache/ozone/pull/3719#issuecomment-1227484654

   Thanks @kaijchen @adoroszlai for the fix and review.


-- 
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 merged pull request #3719: HDDS-7173. Fix TestReconOmMetadataManagerImpl#testUpdateOmDB

Posted by GitBox <gi...@apache.org>.
adoroszlai merged PR #3719:
URL: https://github.com/apache/ozone/pull/3719


-- 
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] kerneltime commented on pull request #3719: HDDS-7173. Fix TestReconOmMetadataManagerImpl#testUpdateOmDB

Posted by GitBox <gi...@apache.org>.
kerneltime commented on PR #3719:
URL: https://github.com/apache/ozone/pull/3719#issuecomment-1227490588

   Thank you @kaijchen for the fix.


-- 
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] kaijchen commented on pull request #3719: HDDS-7173. Fix TestReconOmMetadataManagerImpl#testUpdateOmDB

Posted by GitBox <gi...@apache.org>.
kaijchen commented on PR #3719:
URL: https://github.com/apache/ozone/pull/3719#issuecomment-1226938067

   Thanks @adoroszlai for the review.


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