Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3037

HMS notification log listener runs in follower masters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11.1
    • None
    • hms, master

    Description

      Besides wasting resources, this also emits the same log message every second:

      I0108 21:05:07.748235  1443 hms_notification_log_listener.cc:227] Skipping Hive Metastore notification log poll: Illegal state: Not the leader. Local UUID: c77bd888023149729481b7fd041b5c83, Raft Consensus state: current_term: 6 committed_config { opid_index: -1 OBSOLETE_local: false peers { permanent_uuid: "12e9881f0c094a38b83c3b00f71a0ef1" member_type: VOTER last_known_addr { host: "127.0.60.126" port: 43289 } } peers { permanent_uuid: "c77bd888023149729481b7fd041b5c83" member_type: VOTER last_known_addr { host: "127.0.60.125" port: 38761 } } peers { permanent_uuid: "c362d38459074310a6fbd3da10153538" member_type: VOTER last_known_addr { host: "127.0.60.124" port: 34903 } } }
      

      We could throttle the log message, though perhaps the more complete solution is to only activate the log listener in the leader master.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adar Adar Dembo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: