hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Seth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-10229) Set conf and processor context in the constructor instead of init
Date Mon, 06 Apr 2015 22:59:12 GMT

     [ https://issues.apache.org/jira/browse/HIVE-10229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siddharth Seth updated HIVE-10229:
----------------------------------
    Attachment: HIVE-10229.1.patch

Fairly simple patch to set jconf and context during construction.

> Set conf and processor context in the constructor instead of init
> -----------------------------------------------------------------
>
>                 Key: HIVE-10229
>                 URL: https://issues.apache.org/jira/browse/HIVE-10229
>             Project: Hive
>          Issue Type: Bug
>         Environment: 
>            Reporter: Sergey Shelukhin
>            Assignee: Siddharth Seth
>             Fix For: 1.2.0
>
>         Attachments: HIVE-10229.1.patch
>
>
> Hit this on ctas13 query.
> {noformat}
> Error: Failure while running task:java.lang.NullPointerException
>    at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordProcessor.<init>(ReduceRecordProcessor.java:98)
>    at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:134)
>    at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:330)
>    at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:180)
>    at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:172)
>    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:1657)
>    at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:172)
>    at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:168)
>    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:745)
> {noformat}
> The line is  cacheKey = queryId + processorContext.getTaskVertexName() + REDUCE_PLAN_KEY;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message