phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3386) PhoenixStorageHandler throws NPE if local tasks executed via child
Date Thu, 03 Nov 2016 02:57:58 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-3386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15631347#comment-15631347
] 

Hudson commented on PHOENIX-3386:
---------------------------------

FAILURE: Integrated in Jenkins build Phoenix-master #1470 (See [https://builds.apache.org/job/Phoenix-master/1470/])
PHOENIX-3386 PhoenixStorageHandler throws NPE if local tasks executed (ssa: rev 41c16a020fcd1cb143675ea17e2d9d3a56750a8a)
* (edit) phoenix-core/src/main/java/org/apache/phoenix/mapreduce/util/PhoenixConfigurationUtil.java
* (edit) phoenix-hive/src/main/java/org/apache/phoenix/hive/util/PhoenixStorageHandlerUtil.java
* (edit) phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixStorageHandler.java


> PhoenixStorageHandler throws NPE if local tasks executed via child
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-3386
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3386
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.8.0
>            Reporter: Sergey Soldatov
>            Assignee: Sergey Soldatov
>              Labels: HivePhoenix
>             Fix For: 4.9.0
>
>         Attachments: PHOENIX-3386.patch
>
>
> By default hive is using hive.exec.submit.local.task.via.child as true. In this case
all MR tasks are running in separate processes and in this case NPE is thrown from PhoenixStorageHandler.getTableKeyOfSession.
The reason is that in new process the SessionState returns null and method is unable to build
key for session. We need to pass session id through jobConf.



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

Mime
View raw message