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:43:13 UTC

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

Zhiyuan Yang created TEZ-3224:
---------------------------------

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


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)