Created on 07-06-2023 08:23 PM - edited 07-06-2023 09:30 PM
I configured standalone metastore for presto but I cannot find a service file for it. In order to run metastore I have to run -
./bin/start-metastore &>null &
This does not help as the metastore goes down unexpectedly in sometime
I can't find a hive-metastore service file as well
I need to run metastore for presto
@mszurap Please let me know if u can help me with this
Created 07-06-2023 08:43 PM
@pragz Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our Hive expert @mszurap who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
In the meantime, you can check some resources within our articles: Hive Metastore validate issue
Regards,
Diana Torres,Created 07-18-2023 09:47 AM
Hi @pragz
Not sure how you usually start HMS, but I would start with something like:
./bin/start-metastore >/var/tmp/hms-stdout.log 2>/var/tmp/hms-stderr.log
or
nohup ./bin/start-metastore >/var/tmp/hms-stdout.log 2>/var/tmp/hms-stderr.log &
to start in the background.
With that you should have a separate stdout and and stderr logfile.
If a process suddenly exits, usually it is because the OS killed it, so look in dmesg or messages if there is a sign for the oomkiller.
Also check your $HIVE_CONF_DIR/hive-log4j.properties is there and verify where the ordinary log4j based HMS logging messages are going.
Hope this helps.
Miklos