<?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 Re: Hive Metastore getting alert due to Hive Metastroe canary in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354723#M236963</link>
    <description>&lt;P&gt;any one please help me on this&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 06:10:03 GMT</pubDate>
    <dc:creator>hanumanth</dc:creator>
    <dc:date>2022-10-13T06:10:03Z</dc:date>
    <item>
      <title>Hive Metastore getting alert due to Hive Metastroe canary</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354721#M236961</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have 2 Hive Metastore server services configured on cluster in node1 and node2. In node1 Hive Metastore getting alert with below message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Hive Metastore Canary"&lt;/P&gt;&lt;P&gt;&amp;nbsp;The Hive Metastore canary failed to create a database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am seeing below errors in servicemonitor log file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2022-10-12 22:40:06,657 WARN com.cloudera.cmf.cdh6client.hive.MetastoreClientImpl: (2 skipped) Could not drop hive database: cloudera_manager_metastore_canary_test_db_hive_HIVEMETASTORE_0137966f79e5f15b3b5d4dec61b7592e&lt;BR /&gt;com.cloudera.cdh6client.hive.shaded.org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out&lt;BR /&gt;at com.cloudera.cdh6client.hive.shaded.org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:129)&lt;BR /&gt;at com.cloudera.cdh6client.hive.shaded.org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)&lt;BR /&gt;at com.cloudera.cdh6client.hive.shaded.org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)&lt;BR /&gt;at com.cloudera.cdh6client.hive.shaded.org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)&lt;BR /&gt;at com.cloudera.cdh6client.hive.shaded.org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)&lt;BR /&gt;at com.cloudera.cdh6client.hive.shaded.org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:77)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_database(ThriftHiveMetastore.java:770)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_database(ThriftHiveMetastore.java:757)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.dropDatabase(HiveMetaStoreClient.java:940)&lt;BR /&gt;at com.cloudera.cmf.cdh6client.hive.MetastoreClientImpl.dropDatabase(MetastoreClientImpl.java:163)&lt;BR /&gt;at com.cloudera.cmon.firehose.polling.hive.HiveMetastoreCanary.cleanUpFromPreviousRuns(HiveMetastoreCanary.java:484)&lt;BR /&gt;at com.cloudera.cmon.firehose.polling.hive.HiveMetastoreCanary.doWorkWithClientConfig(HiveMetastoreCanary.java:175)&lt;BR /&gt;at com.cloudera.cmon.firehose.polling.hive.HiveMetastoreCanary.doWorkWithClientConfig(HiveMetastoreCanary.java:52)&lt;BR /&gt;at com.cloudera.cmon.firehose.polling.AbstractCdhWorkUsingClientConfigs.doWork(AbstractCdhWorkUsingClientConfigs.java:45)&lt;BR /&gt;at com.cloudera.cmon.firehose.polling.CdhTask$InstrumentedWork.doWork(CdhTask.java:230)&lt;BR /&gt;at com.cloudera.cmf.cdhclient.util.ImpersonatingTaskWrapper.runTask(ImpersonatingTaskWrapper.java:72)&lt;BR /&gt;at com.cloudera.cmf.cdhclient.util.ImpersonatingTaskWrapper.access$000(ImpersonatingTaskWrapper.java:21)&lt;BR /&gt;at com.cloudera.cmf.cdhclient.util.ImpersonatingTaskWrapper$1.run(ImpersonatingTaskWrapper.java:107)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at javax.security.auth.Subject.doAs(Subject.java:422)&lt;BR /&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875)&lt;BR /&gt;at com.cloudera.cmf.cdh6client.security.UserGroupInformationImpl.doAs(UserGroupInformationImpl.java:42)&lt;BR /&gt;at com.cloudera.cmf.cdhclient.util.ImpersonatingTaskWrapper.doWork(ImpersonatingTaskWrapper.java:104)&lt;BR /&gt;at com.cloudera.cmf.cdhclient.CdhExecutor$1.call(CdhExecutor.java:125)&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;Caused by: java.net.SocketTimeoutException: Read timed out&lt;BR /&gt;at java.net.SocketInputStream.socketRead0(Native Method)&lt;BR /&gt;at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)&lt;BR /&gt;at java.net.SocketInputStream.read(SocketInputStream.java:171)&lt;BR /&gt;at java.net.SocketInputStream.read(SocketInputStream.java:141)&lt;BR /&gt;at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)&lt;BR /&gt;at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)&lt;BR /&gt;at java.io.BufferedInputStream.read(BufferedInputStream.java:345)&lt;BR /&gt;at com.cloudera.cdh6client.hive.shaded.org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)&lt;BR /&gt;... 27 more&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me on this issue,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 06:07:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354721#M236961</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-10-13T06:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore getting alert due to Hive Metastroe canary</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354723#M236963</link>
      <description>&lt;P&gt;any one please help me on this&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 06:10:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354723#M236963</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-10-13T06:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore getting alert due to Hive Metastroe canary</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354733#M236965</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;, I assume this is a CDH 6 cluster. Do you have Sentry enabled as well? Is this always happening, or just at some times?&lt;/P&gt;&lt;P&gt;Have you tested in beeline how long does it take to drop an example database? Does it also fail with a timeout?&lt;/P&gt;&lt;P&gt;I guess it is taking more than 60 seconds (that's the service monitor's default timeout), and since the default timeout for HS2 to HMS is 5 minutes it actually succeeds.&lt;/P&gt;&lt;P&gt;Thanks, Miklos&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 08:20:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354733#M236965</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2022-10-13T08:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore getting alert due to Hive Metastroe canary</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354736#M236968</link>
      <description>&lt;P&gt;Hive Metastore server health in node 1 shows un-healthy. because of this jobs are failing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to trouble shoot this issue??&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 09:49:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354736#M236968</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-10-13T09:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore getting alert due to Hive Metastroe canary</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354741#M236970</link>
      <description>&lt;P&gt;The Canary is just testing whether the basic operatins are working in Hive Metastore. If that shows "unhealthy" it does not necessarily mean that the jobs are failing due to the Hive Metastore not functioning (it may be just slow for example), it is however indeed a warning sign for you that something is not proper.&lt;/P&gt;&lt;P&gt;Please connect with beeline to the HiveServer2 and verify what is working and what is failing, then check the HiveServer2 logs and HiveMetastore logs.&lt;BR /&gt;You can file a support case (where you can share much more details) if this is an urgent issue.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 10:29:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354741#M236970</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2022-10-13T10:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore getting alert due to Hive Metastroe canary</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354762#M236977</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while accessing hive from beeline due to below messages it hanged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2022-10-12 09:41:26,507 INFO org.apache.hadoop.hive.common.JvmPauseMonitor: [org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@78267545]: Detected pause in JVM or host machine (eg GC): pause of approximately 5107ms&lt;BR /&gt;GC pool 'PS MarkSweep' had collection(s): count=1 time=3349ms&lt;BR /&gt;2022-10-12 09:41:43,321 INFO org.apache.hadoop.hive.common.JvmPauseMonitor: [org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@78267545]: Detected pause in JVM or host machine (eg GC): pause of approximately 5098ms&lt;BR /&gt;GC pool 'PS MarkSweep' had collection(s): count=3 time=9940ms&lt;BR /&gt;2022-10-12 09:42:20,627 INFO org.apache.hadoop.hive.common.JvmPauseMonitor: [org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@78267545]: Detected pause in JVM or host machine (eg GC): pause of approximately 6398ms&lt;BR /&gt;GC pool 'PS MarkSweep' had collection(s): count=6 time=23371ms&lt;BR /&gt;2022-10-12 09:42:31,927 INFO org.apache.hadoop.hive.common.JvmPauseMonitor: [org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@78267545]: Detected pause in JVM or host machine (eg GC): pause of approximately 5057ms&lt;BR /&gt;GC pool 'PS MarkSweep' had collection(s): count=1 time=3303ms&lt;BR /&gt;2022-10-12 09:45:46,227 INFO org.apache.hadoop.hive.common.JvmPauseMonitor: [org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@78267545]: Detected pause in JVM or host machine (eg GC): pause of approximately 6036ms&lt;BR /&gt;GC pool 'PS MarkSweep' had collection(s): count=2 time=7653ms&lt;BR /&gt;2022-10-12 09:48:53,560 INFO org.apache.hadoop.hive.common.JvmPauseMonitor: [org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@78267545]: Detected pause in JVM or host machine (eg GC): pause of approximately 5099ms&lt;BR /&gt;GC pool 'PS MarkSweep' had collection(s): count=40 time=140485ms&lt;BR /&gt;2022-10-12 09:54:03,673 INFO org.apache.hadoop.hive.common.JvmPauseMonitor: [org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@78267545]: Detected pause in JVM or host machine (eg GC): pause of approximately 5401ms&lt;BR /&gt;GC pool 'PS MarkSweep' had collection(s): count=31 time=111314ms&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:50:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354762#M236977</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-10-13T12:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore getting alert due to Hive Metastroe canary</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354768#M236980</link>
      <description>&lt;P&gt;These are pretty long GC pauses, I assume they are from the HMS logs. With long GC pauses of course every operation will suffer and will be slow, eventually the SMON's request will time out . Kindly review the HMS heap size and consider to increase it until you get a stable performance (without such GC pauses).&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 13:13:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354768#M236980</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2022-10-13T13:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore getting alert due to Hive Metastroe canary</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354919#M237018</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In addition to&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;response for HMS heap Size tuning please consider below document and make sure the underlying host is having enough memory else you will end up with memory overcommit issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/admin_hive_tuning.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/admin_hive_tuning.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 08:58:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/354919#M237018</guid>
      <dc:creator>Chella</dc:creator>
      <dc:date>2022-10-15T08:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore getting alert due to Hive Metastroe canary</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/355160#M237071</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;,&amp;nbsp;have any if the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 14:37:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-getting-alert-due-to-Hive-Metastroe-canary/m-p/355160#M237071</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2022-10-18T14:37:39Z</dc:date>
    </item>
  </channel>
</rss>

