<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question hive server restarted failed with error stopping schq in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/312210#M225037</link>
    <description>&lt;P&gt;The server of hive on tez shut down after it restarted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can find error message of hive's log below:&lt;/P&gt;&lt;P&gt;2021-02-25 14:20:06,800 INFO org.apache.hadoop.hive.common.ZooKeeperHiveHelper: [shutdown-hook-0]: Server instance removed from ZooKeeper.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Stopping/Disconnecting tez sessions.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Stopped tez session pool manager.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Shutting down HiveServer2&lt;BR /&gt;2021-02-25 14:20:06,800 ERROR org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Error stopping schq&lt;BR /&gt;java.lang.IllegalStateException: The current ScheduledQueryExecutionService INSTANCE is invalid&lt;BR /&gt;at org.apache.hadoop.hive.ql.scheduled.ScheduledQueryExecutionService.close(ScheduledQueryExecutionService.java:312) ~[hive-exec-3.1.3000.7.1.4.0-203.jar:3.1.3000.7.1.4.0-203]&lt;BR /&gt;at org.apache.hive.service.server.HiveServer2.stop(HiveServer2.java:887) ~[hive-service-3.1.3000.7.1.4.0-203.jar:3.1.3000.7.1.4.0-203]&lt;BR /&gt;at org.apache.hive.service.server.HiveServer2.lambda$init$0(HiveServer2.java:434) ~[hive-service-3.1.3000.7.1.4.0-203.jar:3.1.3000.7.1.4.0-203]&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_232]&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_232]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Web UI has stopped&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hadoop.hive.common.ZooKeeperHiveHelper: [shutdown-hook-0]: Server instance removed from ZooKeeper.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Stopping/Disconnecting tez sessions.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Stopped tez session pool manager.&lt;BR /&gt;2021-02-25 14:20:06,807 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: SHUTDOWN_MSG:&lt;BR /&gt;/************************************************************&lt;BR /&gt;SHUTDOWN_MSG: Shutting down HiveServer2 at acdu02datvm0024.acsdmzuat.cc.cmbchina.cn/172.22.5.22&lt;BR /&gt;************************************************************/&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I cannot find error message from ZK’s log.&lt;/P&gt;&lt;P&gt;Could anyone please give some advice?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 09:06:37 GMT</pubDate>
    <dc:creator>Ant5566</dc:creator>
    <dc:date>2026-04-21T09:06:37Z</dc:date>
    <item>
      <title>hive server restarted failed with error stopping schq</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/312210#M225037</link>
      <description>&lt;P&gt;The server of hive on tez shut down after it restarted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can find error message of hive's log below:&lt;/P&gt;&lt;P&gt;2021-02-25 14:20:06,800 INFO org.apache.hadoop.hive.common.ZooKeeperHiveHelper: [shutdown-hook-0]: Server instance removed from ZooKeeper.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Stopping/Disconnecting tez sessions.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Stopped tez session pool manager.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Shutting down HiveServer2&lt;BR /&gt;2021-02-25 14:20:06,800 ERROR org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Error stopping schq&lt;BR /&gt;java.lang.IllegalStateException: The current ScheduledQueryExecutionService INSTANCE is invalid&lt;BR /&gt;at org.apache.hadoop.hive.ql.scheduled.ScheduledQueryExecutionService.close(ScheduledQueryExecutionService.java:312) ~[hive-exec-3.1.3000.7.1.4.0-203.jar:3.1.3000.7.1.4.0-203]&lt;BR /&gt;at org.apache.hive.service.server.HiveServer2.stop(HiveServer2.java:887) ~[hive-service-3.1.3000.7.1.4.0-203.jar:3.1.3000.7.1.4.0-203]&lt;BR /&gt;at org.apache.hive.service.server.HiveServer2.lambda$init$0(HiveServer2.java:434) ~[hive-service-3.1.3000.7.1.4.0-203.jar:3.1.3000.7.1.4.0-203]&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_232]&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_232]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Web UI has stopped&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hadoop.hive.common.ZooKeeperHiveHelper: [shutdown-hook-0]: Server instance removed from ZooKeeper.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Stopping/Disconnecting tez sessions.&lt;BR /&gt;2021-02-25 14:20:06,800 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: Stopped tez session pool manager.&lt;BR /&gt;2021-02-25 14:20:06,807 INFO org.apache.hive.service.server.HiveServer2: [shutdown-hook-0]: SHUTDOWN_MSG:&lt;BR /&gt;/************************************************************&lt;BR /&gt;SHUTDOWN_MSG: Shutting down HiveServer2 at acdu02datvm0024.acsdmzuat.cc.cmbchina.cn/172.22.5.22&lt;BR /&gt;************************************************************/&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I cannot find error message from ZK’s log.&lt;/P&gt;&lt;P&gt;Could anyone please give some advice?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 09:06:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/312210#M225037</guid>
      <dc:creator>Ant5566</dc:creator>
      <dc:date>2026-04-21T09:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: hive server restarted failed with error stopping schq</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/312313#M225088</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86025"&gt;@Ant5566&lt;/a&gt;&amp;nbsp;This seems a known issue. You need to update tez jars location path in hive.sh under TEZ_JARS property.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;TEZ_JARS="/opt/cloudera/parcels/CDH/jars/tez-:/opt/cloudera/parcels/CDH/lib/tez/.jar:$CONF_DIR/tez-conf"&lt;/PRE&gt;&lt;P&gt;Restart the service. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 14:53:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/312313#M225088</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2021-03-02T14:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: hive server restarted failed with error stopping schq</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/320193#M228115</link>
      <description>&lt;P&gt;I met similar errors, but with different reasons.&lt;/P&gt;&lt;P&gt;My reason was, I created a leaf queue behind default queue.&lt;/P&gt;&lt;P&gt;Then after Hive restart, it will submit a query to check the health status, however as default queue is not a leaf queue any more, then it went error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution was , I removed the child queue behind default queue, then the error resolved.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 06:57:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/320193#M228115</guid>
      <dc:creator>zzeng</dc:creator>
      <dc:date>2021-07-09T06:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: hive server restarted failed with error stopping schq</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/323525#M229140</link>
      <description>&lt;P&gt;Dear sir,&lt;/P&gt;&lt;P&gt;Which one is correct?&lt;/P&gt;&lt;PRE&gt;TEZ_JARS="/opt/cloudera/parcels/CDH/jars/tez-:/opt/cloudera/parcels/CDH/lib/tez/.jar:$CONF_DIR/tez-conf"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;TEZ_JARS="/opt/cloudera/parcels/CDH/jars/tez-*:/opt/cloudera/parcels/CDH/lib/tez/*.jar:$CONF_DIR/tez-conf"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 17:15:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/323525#M229140</guid>
      <dc:creator>JuliaC</dc:creator>
      <dc:date>2021-09-01T17:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: hive server restarted failed with error stopping schq</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/328265#M230231</link>
      <description>&lt;P&gt;This one is correct:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;TEZ_JARS="/opt/cloudera/parcels/CDH/jars/tez-*:/opt/cloudera/parcels/CDH/lib/tez/*.jar:$CONF_DIR/tez-conf"&lt;/PRE&gt;&lt;P&gt;This is a shell script and cannot resolve any jars without the "*".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 15:17:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/328265#M230231</guid>
      <dc:creator>johndee</dc:creator>
      <dc:date>2021-10-20T15:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: hive server restarted failed with error stopping schq</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/329317#M230423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;/opt/cloudera/cm-agent/service/hive/hive.sh&lt;/STRONG&gt; file,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;TEZ_JARS &lt;/STRONG&gt;property will be&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TEZ_JARS="$PARCELS_ROOT/CDH/jars/tez-*:$PARCELS_ROOT/CDH/lib/tez/*.jar:$CONF_DIR/tez-conf"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;We need to update&amp;nbsp;&lt;STRONG&gt;TEZ_JARS &lt;/STRONG&gt;property like below:&lt;/P&gt;&lt;PRE&gt;TEZ_JARS="/opt/cloudera/parcels/CDH/jars/tez-:/opt/cloudera/parcels/CDH/lib/tez/.jar:$CONF_DIR/tez-conf"&lt;/PRE&gt;&lt;P&gt;After that we need to &lt;STRONG&gt;Restart&lt;/STRONG&gt; the service. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 05:24:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/329317#M230423</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2021-11-01T05:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: hive server restarted failed with error stopping schq</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/330339#M230648</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29629"&gt;@GangWar&lt;/a&gt;&amp;nbsp;this didnt solve the issue for me.&lt;/P&gt;&lt;P&gt;Please provide an alternate solution&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 15:09:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/330339#M230648</guid>
      <dc:creator>Atiq</dc:creator>
      <dc:date>2021-11-16T15:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: hive server restarted failed with error stopping schq</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/363103#M238912</link>
      <description>&lt;P&gt;After following above steps I'm still not able to start hiveserver2&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 05:10:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server-restarted-failed-with-error-stopping-schq/m-p/363103#M238912</guid>
      <dc:creator>vi1</dc:creator>
      <dc:date>2023-02-04T05:10:15Z</dc:date>
    </item>
  </channel>
</rss>

