<?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 while running the TPCDS query in non llap mode. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutofmemoryError-while-running-the-TPCDS-query-in-non-llap/m-p/230769#M67490</link>
    <description>&lt;P&gt;It started working after I disabled the vectorized execution mode. set hive.vectorized.execution.enabled = false; &lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 22:34:02 GMT</pubDate>
    <dc:creator>mpandit</dc:creator>
    <dc:date>2017-08-31T22:34:02Z</dc:date>
    <item>
      <title>OutofmemoryError while running the TPCDS query in non llap mode.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutofmemoryError-while-running-the-TPCDS-query-in-non-llap/m-p/230766#M67487</link>
      <description>&lt;P&gt;I am getting following exception while running one the TPCDS benchmarking query in non llap mode. Please advise.&lt;/P&gt;&lt;P&gt;ERROR : FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask. Vertex failed, vertexName=Map 1, vertexId=vertex_1504136552198_0002_33_05, diagnostics=[Task failed, taskId=task_1504136552198_0002_33_05_000001, diagnostics=[TaskAttempt 0 failed, info=[Error: Error while running task ( failure ) : java.lang.RuntimeException: Map operator initialization failed
at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:354)
at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:188)
at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:172)
at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:370)
at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:73)
at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:61)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:61)
at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:37)
at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Async Initialization failed. abortRequested=false
at org.apache.hadoop.hive.ql.exec.Operator.completeInitialization(Operator.java:464)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:398)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:564)
at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:516)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:384)
at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:335)
... 15 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastLongHashTable.allocateBucketArray(VectorMapJoinFastLongHashTable.java:265)
at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastLongHashTable.&amp;lt;init&amp;gt;(VectorMapJoinFastLongHashTable.java:279)
at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastLongHashMap.&amp;lt;init&amp;gt;(VectorMapJoinFastLongHashMap.java:113)
at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastTableContainer.createHashTable(VectorMapJoinFastTableContainer.java:115)
at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastTableContainer.&amp;lt;init&amp;gt;(VectorMapJoinFastTableContainer.java:86)
at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastHashTableLoader.load(VectorMapJoinFastHashTableLoader.java:108)
at org.apache.hadoop.hive.ql.exec.MapJoinOperator.loadHashTable(MapJoinOperator.java:315)
at org.apache.hadoop.hive.ql.exec.MapJoinOperator$1.call(MapJoinOperator.java:187)
at org.apache.hadoop.hive.ql.exec.MapJoinOperator$1.call(MapJoinOperator.java:183)
at org.apache.hadoop.hive.ql.exec.tez.ObjectCache.retrieve(ObjectCache.java:91)
at org.apache.hadoop.hive.ql.exec.tez.ObjectCache$1.call(ObjectCache.java:108)
... 4 more
, errorMessage=Cannot recover from this error:java.lang.RuntimeException: Map operator initialization failed
at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:354)
at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:188)
at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:172)
at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:370)
at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:73)
at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:61)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:61)
at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:37)
at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Async Initialization failed. abortRequested=false
at org.apache.hadoop.hive.ql.exec.Operator.completeInitialization(Operator.java:464)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:398)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:564)
at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:516)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:384)
at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:335)
... 15 more&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 07:47:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutofmemoryError-while-running-the-TPCDS-query-in-non-llap/m-p/230766#M67487</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2017-08-31T07:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: OutofmemoryError while running the TPCDS query in non llap mode.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutofmemoryError-while-running-the-TPCDS-query-in-non-llap/m-p/230767#M67488</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9842/mpandit.html" nodeid="9842"&gt;@milind pandit&lt;/A&gt;&lt;BR /&gt;Seems like the OOM is due to the hash table array allocation, try running query after setting "hive.mapjoin.hybridgrace.hashtable=false". &lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:18:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutofmemoryError-while-running-the-TPCDS-query-in-non-llap/m-p/230767#M67488</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2017-08-31T16:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: OutofmemoryError while running the TPCDS query in non llap mode.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutofmemoryError-while-running-the-TPCDS-query-in-non-llap/m-p/230768#M67489</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/5019/ssubhas.html" nodeid="5019"&gt;@Sindhu&lt;/A&gt; I tried that but got the same exception. The same query is working fine if I turn on  the llap mode.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 22:04:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutofmemoryError-while-running-the-TPCDS-query-in-non-llap/m-p/230768#M67489</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2017-08-31T22:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: OutofmemoryError while running the TPCDS query in non llap mode.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutofmemoryError-while-running-the-TPCDS-query-in-non-llap/m-p/230769#M67490</link>
      <description>&lt;P&gt;It started working after I disabled the vectorized execution mode. set hive.vectorized.execution.enabled = false; &lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 22:34:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OutofmemoryError-while-running-the-TPCDS-query-in-non-llap/m-p/230769#M67490</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2017-08-31T22:34:02Z</dc:date>
    </item>
  </channel>
</rss>

