Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3224

User payload is not initialized before creating vertex manager plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.1, 0.8.4
    • None
    • None

    Description

      In VertexManager constructor, we create VertexManagerPlugin before initializing user payload.

      plugin = ReflectionUtils.createClazzInstance(pluginDesc.getClassName(),
              new Class[] { VertexManagerPluginContext.class }, new Object[] { pluginContext });
      payload = pluginDesc.getUserPayload();
      

      Trying to access user payload in VertexManagerPlugin constructor will result in a NullPointerException.

      Attachments

        1. TEZ-3224.1.patch
          0.9 kB
          Zhiyuan Yang
        2. TEZ-3224.2.patch
          4 kB
          Zhiyuan Yang
        3. TEZ-3224.3.patch
          4 kB
          Zhiyuan Yang
        4. TEZ-3224.4.patch
          4 kB
          Zhiyuan Yang

        Activity

          People

            zhiyuany Zhiyuan Yang
            zhiyuany Zhiyuan Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: