<?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: Failure after tez shuffle handler setup : Map operator initialization failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Failure-after-tez-shuffle-handler-setup-Map-operator/m-p/308310#M223514</link>
    <description>&lt;P&gt;&lt;SPAN&gt;LLAP internally uses MAP-REDUCE shuffle handler because inside TEZ code we have a hard-coded constant&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TEZ_SHUFFLE_HANDLER_SERVICE_ID = "mapreduce_shuffle".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/tez/blob/master/tez-api/src/main/java/org/apache/tez/dag/api/TezConstants.java" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://github.com/apache/tez/blob/master/tez-api/src/main/java/org/apache/tez/dag/api/TezConstants.java&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, when we are using tez_shuffle with LLAP its giving ‘NullpointerException’.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Dec 2020 08:05:38 GMT</pubDate>
    <dc:creator>kuldeephawks</dc:creator>
    <dc:date>2020-12-23T08:05:38Z</dc:date>
    <item>
      <title>Failure after tez shuffle handler setup : Map operator initialization failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-after-tez-shuffle-handler-setup-Map-operator/m-p/307991#M223439</link>
      <description>&lt;P&gt;After Setup for the Tez Shuffle Handler following instructions on :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://tez.apache.org/shuffle-handler.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://tez.apache.org/shuffle-handler.html&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I'm getting below error in query execution:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;Vertex failed, vertexName=Map 2, vertexId=vertex_1608273679503_0002_2_01, diagnostics=[Task failed, taskId=task_1608273679503_0002_2_01_000000, diagnostics=[TaskAttempt 0 failed, info=[Error: Error while running task ( failure ) : attempt_1608273679503_0002_2_01_000000_0:java.lang.RuntimeException: java.lang.RuntimeException: Map operator initialization failed at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:296) at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:250) at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:374) 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:1729) 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 org.apache.hadoop.hive.llap.daemon.impl.StatsRecordingThreadPool$WrappedCallable.call(StatsRecordingThreadPool.java:110) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.RuntimeException: Map operator initialization failed at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:363) at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:266) ... 15 more 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:461) at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:395) at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:568) at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:520) at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:381) at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:335) ... 16 more Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.tez.LlapObjectCache.retrieve(LlapObjectCache.java:118) at org.apache.hadoop.hive.ql.exec.tez.LlapObjectCache$1.call(LlapObjectCache.java:143) ... 4 more Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastHashTableLoader.load(VectorMapJoinFastHashTableLoader.java:113) at org.apache.hadoop.hive.ql.exec.MapJoinOperator.loadHashTableInternal(MapJoinOperator.java:331) at org.apache.hadoop.hive.ql.exec.MapJoinOperator.loadHashTable(MapJoinOperator.java:400) at org.apache.hadoop.hive.ql.exec.MapJoinOperator.lambda$initializeOp$0(MapJoinOperator.java:207) at org.apache.hadoop.hive.ql.exec.tez.LlapObjectCache.retrieve(LlapObjectCache.java:116) ... 5 more Caused by: java.lang.NullPointerException at org.apache.tez.runtime.api.impl.TezTaskContextImpl.getServiceConsumerMetaData(TezTaskContextImpl.java:190) at org.apache.tez.runtime.library.common.shuffle.impl.ShuffleManager.(ShuffleManager.java:264) at org.apache.tez.runtime.library.input.UnorderedKVInput.start(UnorderedKVInput.java:146) at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastHashTableLoader.load(VectorMapJoinFastHashTableLoader.java:109) ... 9 more&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Can anyone help here please?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 13:49:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-after-tez-shuffle-handler-setup-Map-operator/m-p/307991#M223439</guid>
      <dc:creator>kuldeephawks</dc:creator>
      <dc:date>2020-12-18T13:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Failure after tez shuffle handler setup : Map operator initialization failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-after-tez-shuffle-handler-setup-Map-operator/m-p/308310#M223514</link>
      <description>&lt;P&gt;&lt;SPAN&gt;LLAP internally uses MAP-REDUCE shuffle handler because inside TEZ code we have a hard-coded constant&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TEZ_SHUFFLE_HANDLER_SERVICE_ID = "mapreduce_shuffle".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/tez/blob/master/tez-api/src/main/java/org/apache/tez/dag/api/TezConstants.java" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://github.com/apache/tez/blob/master/tez-api/src/main/java/org/apache/tez/dag/api/TezConstants.java&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, when we are using tez_shuffle with LLAP its giving ‘NullpointerException’.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 08:05:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-after-tez-shuffle-handler-setup-Map-operator/m-p/308310#M223514</guid>
      <dc:creator>kuldeephawks</dc:creator>
      <dc:date>2020-12-23T08:05:38Z</dc:date>
    </item>
  </channel>
</rss>

