<?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: OutOfMemoryError is very frequent on Hive Metastore server in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutOfMemoryError-is-very-frequent-on-Hive-Metastore-server/m-p/40808#M27150</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. Heap memory was not sized as per recommendation given in below link&amp;nbsp;and we had increased the memory and restarted the Hive metastore server which also did not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_hiveserver2_configure.html" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_hiveserver2_configure.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like there were some process which was&amp;nbsp;holding/blocking memory and we had to restart the Complete cluster to resolve this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you once again for input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajay chaudhary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2016 07:34:39 GMT</pubDate>
    <dc:creator>AjayYodlee</dc:creator>
    <dc:date>2016-05-13T07:34:39Z</dc:date>
    <item>
      <title>OutOfMemoryError is very frequent on Hive Metastore server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutOfMemoryError-is-very-frequent-on-Hive-Metastore-server/m-p/40444#M27147</link>
      <description>&lt;P&gt;&amp;nbsp;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We started&amp;nbsp;getting very frequently OutofMemory error for Hive Metastore database. Can you please let us know what could be the cause of this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception in thread "pool-1-thread-145" java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;at java.nio.ByteBuffer.wrap(ByteBuffer.java:350)&lt;BR /&gt;at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:137)&lt;BR /&gt;at java.lang.StringCoding.decode(StringCoding.java:173)&lt;BR /&gt;at java.lang.String.&amp;lt;init&amp;gt;(String.java:443)&lt;BR /&gt;at java.lang.String.&amp;lt;init&amp;gt;(String.java:515)&lt;BR /&gt;at org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:355)&lt;BR /&gt;at org.apache.thrift.protocol.TBinaryProtocol.readString(TBinaryProtocol.java:347)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.FieldSchema$FieldSchemaStandardScheme.read(FieldSchema.java:490)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.FieldSchema$FieldSchemaStandardScheme.read(FieldSchema.java:476)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.FieldSchema.read(FieldSchema.java:410)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.StorageDescriptor$StorageDescriptorStandardScheme.read(StorageDescriptor.java:1309)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.StorageDescriptor$StorageDescriptorStandardScheme.read(StorageDescriptor.java:1288)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.StorageDescriptor.read(StorageDescriptor.java:1150)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.Table$TableStandardScheme.read(Table.java:1393)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.Table$TableStandardScheme.read(Table.java:1330)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.Table.read(Table.java:1186)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_args$create_table_argsStandardScheme.read(ThriftHiveMetastore.java:19529)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_args$create_table_argsStandardScheme.read(ThriftHiveMetastore.java:19514)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_args.read(ThriftHiveMetastore.java:19461)&lt;BR /&gt;at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:25)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.TUGIBasedProcessor.process(TUGIBasedProcessor.java:109)&lt;BR /&gt;at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:244)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:662)&lt;BR /&gt;Exception in thread "main" java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;at org.apache.thrift.transport.TServerSocket.acceptImpl(TServerSocket.java:114)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.TServerSocketKeepAlive.acceptImpl(TServerSocketKeepAlive.java:39)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.TServerSocketKeepAlive.acceptImpl(TServerSocketKeepAlive.java:32)&lt;BR /&gt;at org.apache.thrift.transport.TServerTransport.accept(TServerTransport.java:31)&lt;BR /&gt;at org.apache.thrift.server.TThreadPoolServer.serve(TThreadPoolServer.java:131)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:4245)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:4147)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt;at org.apache.hadoop.util.RunJar.main(RunJar.java:208)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:17:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutOfMemoryError-is-very-frequent-on-Hive-Metastore-server/m-p/40444#M27147</guid>
      <dc:creator>AjayYodlee</dc:creator>
      <dc:date>2022-09-16T10:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: OutOfMemoryError is very frequent on Hive Metastore server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutOfMemoryError-is-very-frequent-on-Hive-Metastore-server/m-p/40782#M27148</link>
      <description>&lt;P&gt;Hello Ajay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first thing I would check is that you have the heap size set correctly. &amp;nbsp; Memory requirements are discussed in&amp;nbsp;the Cloudera Documentation under&amp;nbsp;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_hiveserver2_configure.html" target="_self"&gt;Configuring HiveServer2&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 14:48:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutOfMemoryError-is-very-frequent-on-Hive-Metastore-server/m-p/40782#M27148</guid>
      <dc:creator>denloe</dc:creator>
      <dc:date>2016-05-12T14:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: OutOfMemoryError is very frequent on Hive Metastore server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutOfMemoryError-is-very-frequent-on-Hive-Metastore-server/m-p/40784#M27149</link>
      <description>Does the very same stack trace appear every time the OOME crash occurs? If yes, it may be that one of your script is sending a bogus create table request with very large table names or column names. An crash dump (if enabled) of your HMS, if small enough to analyze, can help reveal what some of the identified parameters of the request would be.&lt;BR /&gt;&lt;BR /&gt;If the point of OOME varies, then its likely that you're eventually running out of heap space, and you'd want to check the JVM memory graphs to see what the active heap utilised pattern looks like over time since last restart.</description>
      <pubDate>Thu, 12 May 2016 14:51:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutOfMemoryError-is-very-frequent-on-Hive-Metastore-server/m-p/40784#M27149</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-05-12T14:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: OutOfMemoryError is very frequent on Hive Metastore server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutOfMemoryError-is-very-frequent-on-Hive-Metastore-server/m-p/40808#M27150</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. Heap memory was not sized as per recommendation given in below link&amp;nbsp;and we had increased the memory and restarted the Hive metastore server which also did not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_hiveserver2_configure.html" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_hiveserver2_configure.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like there were some process which was&amp;nbsp;holding/blocking memory and we had to restart the Complete cluster to resolve this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you once again for input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajay chaudhary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 07:34:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutOfMemoryError-is-very-frequent-on-Hive-Metastore-server/m-p/40808#M27150</guid>
      <dc:creator>AjayYodlee</dc:creator>
      <dc:date>2016-05-13T07:34:39Z</dc:date>
    </item>
  </channel>
</rss>

