Sergey Soldatov created PHOENIX-3386:
----------------------------------------

             Summary: 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


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)

Reply via email to