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

Log spew from security.authorization.PrivilegeSynchonizer.run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0, 4.0.0-alpha-1
    • None
    • None
    • Reviewed

    Description

      Typo in the class name aside, this keeps running and thrashing through every single DB in the cluster if not all directories are actually accessible to the user who runs HS2.

      2018-08-24T03:14:41,932  INFO [PrivilegeSynchonizer] metastore.HiveMetaStore: 1: get_table : tbl=hive.airline_ontime.flights_raw
      2018-08-24T03:14:41,932  INFO [PrivilegeSynchonizer] HiveMetaStore.audit: ugi=gopal     ip=unknown-ip-addr      cmd=get_table : tbl=hive.airline_ontime.flights_raw
      

      The minimum fix needed is to move the Thread.sleep() outside of the try/catch block, so that the sleep is triggered even if the attempt throws an exception.

      Attachments

        1. HIVE-20455.1.patch
          1 kB
          Daniel Dai
        2. HIVE-20455.2.patch
          25 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: