Hive
  1. Hive
  2. HIVE-5359

HiveAuthFactory does not honor the hive configuration passed while creating HiveServer2

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: HiveServer2
    • Labels:
      None

      Description

      When HS2 is brought up, the server can be inited with the given hive config: HiveServer2#init(HiveConf hiveConf). That configuration should be applied through the entire setup process for all services. However, while starting ThriftCLIService, it creates a new HiveAuthFactory object, whose constructor creates a new HiveConf object and ends up using it rather than using the HiveConf passed during HS2 bootstrap.

        Activity

        Hide
        Vaibhav Gumashta added a comment -

        This has been fixed by some more recent work.

        Show
        Vaibhav Gumashta added a comment - This has been fixed by some more recent work.

          People

          • Assignee:
            Vaibhav Gumashta
            Reporter:
            Vaibhav Gumashta
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development