You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Zhiyuan Yang (JIRA)" <ji...@apache.org> on 2016/04/21 23:55:13 UTC

[jira] [Updated] (TEZ-3224) User payload is not initialized before creating vertex manager plugin

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

Zhiyuan Yang updated TEZ-3224:
------------------------------
    Attachment: TEZ-3224.1.patch

> User payload is not initialized before creating vertex manager plugin
> ---------------------------------------------------------------------
>
>                 Key: TEZ-3224
>                 URL: https://issues.apache.org/jira/browse/TEZ-3224
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Zhiyuan Yang
>            Assignee: Zhiyuan Yang
>         Attachments: TEZ-3224.1.patch
>
>
> In VertexManager constructor, we create VertexManagerPlugin before initializing user payload. 
> {code:java}
> plugin = ReflectionUtils.createClazzInstance(pluginDesc.getClassName(),
>         new Class[] { VertexManagerPluginContext.class }, new Object[] { pluginContext });
>     payload = pluginDesc.getUserPayload();
> {code}
> Trying to access user payload in VertexManagerPlugin constructor will result in a NullPointerException.



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