Closed
Bug 807985
Opened 14 years ago
Closed 13 years ago
HBase crash storage modifications to allow for multi-dumps
Categories
(Socorro :: Backend, task)
Tracking
(Not tracked)
RESOLVED
FIXED
34
People
(Reporter: lars, Assigned: lars)
References
Details
modify the HBase storage classes to allow for multiple dumps per crash
need input and help from Metrics.
| Assignee | ||
Comment 1•14 years ago
|
||
I'd imagine that we're going to need a change to the HBase schema. This of course means modifying the HBaseClient.py code originally written by deinspanger. The code will have to be backward compatible.
I also have concerns about the storage ramifications of multi-dumps. Does the current HBase system have the capacity to handle four dumps per crash for hangs?
Comment 2•14 years ago
|
||
Note that we're currently getting two dumps per hang (although they are currently in separate reports), so this is basically an additional two and only for Windows/Flash.
| Assignee | ||
Comment 3•14 years ago
|
||
The change is going to be in the number of binary dump blobs per crash. We're going to have up to four per crash for hangs. We need to modify the HBase schema and the Socorro/HBase code to handle this. Most crashes will still have only one dump. Hang crashes will generally have two dumps. Windows/Flash hang crashes will have four dump per crash.
What are the storage ramifications of this change? There will be an increase in storage needs only for the Windows/Flash crashes. Perhaps we need to do a quick study in how many crashes per day that represents?
What is the feasibility of changing the HBase schema "in flight"? What is the effort required to modify the hbaseclient.py code to support the new schema? What Metrics resources would be required to accomplish this change?
Comment 4•14 years ago
|
||
Lars,Ben:
You can use the existing column family "raw_data" and give new qualifiers for dumps.
For example:
raw_data:dump (exists already)
raw_data:hang_dump
raw_data:flash_dump
etc.
The part before the colon is the column family. Families are static and have to be defined with the table schema (can be altered if you really need to but you have to offline the table). The part after the colon is called a qualifier. Qualifiers are completely dynamic and don't have to be part of the table definition.
This is how I would recommend doing what you're describing above.
Comment 5•14 years ago
|
||
To extend on the mention of four different hangs, maybe the qualifiers would be:
raw_data:dump
raw_data:hang_dump
raw_data:windows_flash_dump
raw_data:windows_flash_hang_dump
The nice thing about just using qualifiers is that there are no changes needed to HBase or the Thrift server. You just have to update the python code that currently references raw_data:dump to handle the new logic and new qualifiers.
It is still important that we do a little impact analysis on capacity. If we could get some criteria to search for as far as data that exists in the raw json, we could do some trending to see how many crashes per day that represents and figure out the impact on capacity.
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → lars
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 31
Updated•13 years ago
|
Target Milestone: 31 → 32
Updated•13 years ago
|
Target Milestone: 32 → 33
Updated•13 years ago
|
Target Milestone: 33 → 34
You need to log in
before you can comment on or make changes to this bug.
Description
•