ChenSammi commented on pull request #1147:
URL: https://github.com/apache/hadoop-ozone/pull/1147#issuecomment-652176025


   > 
   > 
   > I see one issue with this approach.
   > If the database is already opened, and if we try to open again we will get 
this error.
   > 
   > I think, with this change, we will throw an exception if we try to open 
the database again an already existing one.
   > 
   > java.io.IOException: Failed init RocksDB, db path : 
/Users/bviswanadham/workspace/hadoop-ozone/hadoop-hdds/container-service/target/test-dir/xCkBnsLVrc/cont1,
 exception :org.rocksdb.RocksDBException lock : 
/Users/bviswanadham/workspace/hadoop-ozone/hadoop-hdds/container-service/target/test-dir/xCkBnsLVrc/cont1/LOCK:
 No locks available
   
   @bharatviswa504 , I get your point. It's an issue, but not introduced by 
this patch.  It's a currenlty existing issue and we need to carefully think 
about how to fix it with a new JIRA. 


----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to