Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17431

change configuration handling in TezSessionState

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The configuration is only set when opening the session; that seems unnecessary - it could be set in the ctor and made final. E.g. when updating the session and localizing new resources we may theoretically open the session with a new config, but we don't update the config and only update the files if the session is already open, which seems to imply that it's ok to not update the config.
      In most cases, the session is opened only once or reopened without intending to change the config (e.g. if it times out).

      Attachments

        1. HIVE-17431.patch
          19 kB
          Sergey Shelukhin

        Issue Links

          Activity

            People

              sershe Sergey Shelukhin
              sershe Sergey Shelukhin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: