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)

Reply via email to