Enable event feature on HBase
The purpose of this bp is to implement event feature on HBase
Proposed preliminary structure of Events in HBase:
table:
- events
- row_key: timestamp of event's generation + uuid of event
in format: "%s+%s" % (ts, Event.message_id)
-Column Families:
f: contains the following qualifiers:
-all traits for this event in format
Structure that is proposed will support next queries:
- event’s generation time
- event id
- event type
- trait: id, description, type
Blueprint information
- Status:
- Complete
- Approver:
- Julien Danjou
- Priority:
- Medium
- Drafter:
- Nadya Privalova
- Direction:
- Approved
- Assignee:
- Igor Degtiarov
- Definition:
- Approved
- Series goal:
- Accepted for juno
- Implementation:
- Implemented
- Milestone target:
- 2014.2
- Started by
- Igor Degtiarov
- Completed by
- Thierry Carrez
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Implement record_events method for HBase
what's the effect of implementing this as a massively horizontal table? ie each attributed is represented as it's own qualifier -- gordc (01/05/14)
(idegtiarov): Yes, HBase maintains maps of Keys to Values, it is a row like table, where attribute or several attributes are represented as column's qualifier.
Gerrit topic: https:/
Addressed by: https:/
Hbase-
Addressed by: https:/
Refactor tests to remove direct access to test DBManagers
Work Items
Work items:
Create new method for event feature implementation on HBase: DONE
Test new methods in unit tests: INPROGRESS