zztttt commented on issue #4072:
URL: https://github.com/apache/hudi/issues/4072#issuecomment-990568201


   > ```
   > Caused by: ERROR XSDB6: Another instance of Derby may have already booted 
the database /home/zzt/code/spark-debug/metastore_db.
   > ```
   > 
   > guess you already have another instance of derby running, i.e. another 
spark-shell running and trying to write to hudi or something.
   
   Thanks for your help! I still meet this problem when I want to store the 
metadata in Hivemetastore by the derby database approach. I address this 
problem by using the relational database approach of Hivemetastore, and it 
really works several days ago. 
   I can ensure that there is only one sparkSession instance running in the 
project, and before I start the project, I delete the metadata_db directory 
every time, but this doesn't work. It's confusing so I use another storage 
backend instead. 


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to