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

Audit logging fails for large entities

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0, 2.0.0
    • atlas-core
    • None

    Description

      Created a table with 4000 columns. Notification message from Hive hooks is about 5mb; and the hook sends the message in compressed format. However, processing of this notification fails in Atlas server, due to the following error:

      2018-05-28 06:07:37,817 WARN  - [NotificationHookConsumer thread-0:] ~ audit record too long: entityType=hive_table, guid=4124f580-b98d-473b-ba51-12e2ca2c6cec, size=2891084; maxSize=1048576. entity attribute values not stored in audit (EntityAuditListenerV2:189)
      2018-05-28 06:07:37,899 ERROR - [NotificationHookConsumer thread-0:] ~ graph rollback due to exception  (GraphTransactionInterceptor:154)
      java.lang.IllegalArgumentException: KeyValue size too large
              at org.apache.hadoop.hbase.client.HTable.validatePut(HTable.java:952)
              at org.apache.hadoop.hbase.client.HTable.validatePut(HTable.java:940)
              at org.apache.hadoop.hbase.client.HTable.put(HTable.java:564)
              at org.apache.atlas.repository.audit.HBaseBasedAuditRepository.putEve
      

      This issue was addressed in earlier releases via ATLAS-1463. The fix needs to be reviewed/updated for recent additions in master (i.e. addition of relationshipAttributes.

      Attachments

        1. ATLAS-2729.patch
          4 kB
          Madhan Neethiraj

        Activity

          People

            madhan Madhan Neethiraj
            ayubpathan Ayub Pathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: