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

Pass credentials in the current UGI while creating Tez session

    XMLWordPrintableJSON

Details

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

    Description

      The credentials present in the current UGI i.e. UserGroupInformation.getCurrentUser().getCredentials() isn't passed to the Tez session. It is instantiated with null credentials.

      session = TezClient.create("HIVE-" + sessionId, tezConfig, true,
      commonLocalResources, null);

      In this case, tokens added using hive execution hooks, aren't available to Tez even if they are available in memory.

      Attachments

        1. HIVE-12977.4.patch
          2 kB
          Vinoth Sathappan
        2. HIVE-12977.3.patch
          2 kB
          Vinoth Sathappan
        3. HIVE-12977.2.patch
          2 kB
          Vinoth Sathappan
        4. HIVE-12977.1.patch
          2 kB
          Vinoth Sathappan
        5. HIVE-12977.1.patch
          2 kB
          Vinoth Sathappan

        Activity

          People

            vinoths Vinoth Sathappan
            vinoths Vinoth Sathappan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: