Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3386

PhoenixStorageHandler throws NPE if local tasks executed via child

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.9.0
    • Labels:

      Description

      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.

        Attachments

        1. PHOENIX-3386.patch
          4 kB
          Sergey Soldatov

          Activity

            People

            • Assignee:
              sergey.soldatov Sergey Soldatov
              Reporter:
              sergey.soldatov Sergey Soldatov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: