Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3148

Implement Hive Metastore hook for Atlas

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 2.0.0, trunk
    • Component/s: atlas-core
    • Labels:

      Description

      Atlas has hive hook (http://atlas.apache.org/Hook-Hive.html) which registers with HiveServer2 process to listen for create/update/delete operations and updates the metadata in Atlas.

      If hive metastore is accessed using other clients like Impala shell, Hue or other JDBC/ODBC client apps there is no way to capture the events in Atlas.

      This Jira will create a new atlas hook for Hive Metastore - stores the metadata for Hive tables and partitions in a relational database, and provides clients (including Hive) access to this information using the metastore service API. 

      This hook is registered as post-listener (hive.metastore.event.listeners) and DDL operations are captured and send to atlas kafka topic for processing by Atlas server.

      The following DDL operations are captured:

      • CreateDatabaseEvent
      • DropDatabaseEvent
      • AlterDatabaseEvent
      • CreateTableEvent
      • DropTableEvent
      • AlterTableEvent

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sarath Sarath Subramanian
                Reporter:
                sarath Sarath Subramanian
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: