hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <>
Subject [jira] [Created] (HIVE-17827) refactor TezTask file management
Date Wed, 18 Oct 2017 01:38:00 GMT
Sergey Shelukhin created HIVE-17827:

             Summary: refactor TezTask file management
                 Key: HIVE-17827
             Project: Hive
          Issue Type: Bug
            Reporter: Sergey Shelukhin

There are about 5 different duplicate and intersecting structures used in TezTask so to manage
the file list (additionalLr, inputOutputX x2 (array and list and/or map?), resourceMap; plus
a list in the actual session object; multiple methods called like addExtraResourcesBlah, localizeBlah;
at least 2 places where TezClient is invoked to add resources to AM, on the same path.
All this mess needs to be changed to have exactly one place that figures out what needs to
be localized, and exactly one place (in TezSessionState so we don't duplicate state and TezClient
usage inside and outside of it) where we look at what's already there and localize things
that are not.

This message was sent by Atlassian JIRA

View raw message