[
https://issues.apache.org/jira/browse/HIVE-16329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949545#comment-15949545
]
Sergey Shelukhin commented on HIVE-16329:
-----------------------------------------
Seems related:
{noformat}
Caused by: 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:184)
... 15 more
Caused by: java.lang.NullPointerException
at
org.apache.hadoop.hive.llap.LlapDaemonInfo.getNumExecutors(LlapDaemonInfo.java:59)
at
org.apache.hadoop.hive.ql.exec.GroupByOperator.initializeOp(GroupByOperator.java:407)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:366)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:556)
at
org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:508)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:376)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:556)
at
org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:508)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:376)
at
org.apache.hadoop.hive.ql.exec.MapOperator.initializeMapOperator(MapOperator.java:501)
at
org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:317)
{noformat}
> TopN: TopNHash totalFreeMemory computation ignores free memory
> --------------------------------------------------------------
>
> Key: HIVE-16329
> URL: https://issues.apache.org/jira/browse/HIVE-16329
> Project: Hive
> Issue Type: Bug
> Affects Versions: 2.2.0, 3.0.0
> Reporter: Gopal V
> Assignee: Gopal V
> Attachments: HIVE-16329.1.patch
>
>
> {code}
> // TODO: For LLAP, assumption is off-heap cache.
> final long memoryUsedPerExecutor =
> (memoryMXBean.getHeapMemoryUsage().getUsed() / numExecutors);
> // this is total free memory available per executor in case of LLAP
> totalFreeMemory = conf.getMaxMemoryAvailable() - memoryUsedPerExecutor;
> {code}
> {code}
> exec.TopNHash: isTez parameters -615768144 = 5312782848 - 71142611912 / 12
> {code}
> This turns off the TopNHash entirely causing something trivial like
> {code}
> select c_custkey, count(1) from customer group by c_custkey limit 10;
> {code}
> To shuffle 30M rows instead of 10.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)