metastore - Hive multiple users on same tables -
is possible have tables shared in hive. mean user creates hive table. later multiple users can work on same table simultaneously.
i heard derby , individual metastore each users. individual metastore option not allow users work simultaneously on same set of tables right?
is there other way work on this?
because when try access hive @ same time, following error-
caused by: error xsdb6: instance of derby may have booted da tabase /root/metastore_db.
error xsdb6: instance of derby may have booted da tabase /root/metastore_db.
this error can occur when trying start more 1 instance of hive shell. lock may sustain in background (due improper disconnection) after closing tab/terminal.
solution find process using grep
ps aux | grep hive
now, kill process using,
kill -9 hive_process_id (ex: kill -9 21765)
restart hive shell. works fine.
Comments
Post a Comment