chore: sync warehouse/conf/hive-metastore.service
This commit is contained in:
1 parent
95fa1d8d4c
commit
67372abc2c
1 file changed
+17
@@ -0,0 +1,17 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Apache Hive Metastore
|
||||||
|
After=network-online.target mysql.service
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=czk
|
||||||
|
Environment=HIVE_HOME=/opt/hive
|
||||||
|
Environment=HADOOP_HOME=/opt/hadoop
|
||||||
|
Environment=JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
|
||||||
|
ExecStart=/opt/hive/bin/hive --service metastore
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in new issue
Block a user