github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/test/lakectl_metastore/hive/entrypoint.sh (about)

     1  #!/bin/bash
     2  
     3  [[ -n "${DB_URI}" ]] && wait-for-it -t 10 ${DB_URI}
     4  
     5  [[ ! -f initSchema.completed ]] && schematool -dbType mysql -initSchema && touch initSchema.completed
     6  
     7  hive --service metastore