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

Tool to manipulate delegation tokens

    XMLWordPrintableJSON

Details

    Description

      This was precipitated by OOZIE-2797. We had a case in production where the number of active metastore delegation tokens outstripped the ZooKeeper jute.maxBuffer size. Delegation tokens could neither be fetched, nor be cancelled.

      The root-cause turned out to be a miscommunication, causing delegation tokens fetched by Oozie not to be cancelled automatically from HCat. This was sorted out as part of OOZIE-2797.

      The issue exposed how poor the log-messages were, in the code pertaining to token fetch/cancellation. We also found need for a tool to query/list/purge delegation tokens that might have expired already. This patch introduces such a tool, and improves the log-messages.

      Attachments

        1. HIVE-17609.1.patch
          17 kB
          Mithun Radhakrishnan
        2. HIVE-17609.1-branch-2.2.patch
          17 kB
          Mithun Radhakrishnan
        3. HIVE-17609.1-branch-2.patch
          17 kB
          Mithun Radhakrishnan
        4. HIVE-17609.2.patch
          18 kB
          Mithun Radhakrishnan

        Issue Links

          Activity

            People

              mithun Mithun Radhakrishnan
              mithun Mithun Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: