From 1fed4a682d3a3e6e8656766c9a406fbd3cf4224b Mon Sep 17 00:00:00 2001 From: admin <2775444633@qq.com> Date: Tue, 24 Nov 2026 17:06:06 +0000 Subject: [PATCH] chore: sync warehouse/conf/hive-hiveserver2.service --- warehouse/conf/hive-hiveserver2.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 warehouse/conf/hive-hiveserver2.service diff --git a/warehouse/conf/hive-hiveserver2.service b/warehouse/conf/hive-hiveserver2.service new file mode 100644 index 0000000..57dec48 --- /dev/null +++ b/warehouse/conf/hive-hiveserver2.service @@ -0,0 +1,17 @@ +[Unit] +Description=Apache HiveServer2 +After=hive-metastore.service +Requires=hive-metastore.service + +[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/hiveserver2 +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target \ No newline at end of file