Closed Bug 498792 Opened 16 years ago Closed 16 years ago

Extract data from SUMO db and put it in datawarehouse

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cww, Assigned: laura)

References

Details

(Whiteboard: sumo_only)

Attachments

(4 files, 2 obsolete files)

Attached file first pass at data warehouse scripts (obsolete) —
https://wiki.mozilla.org/Support/MetricsDashboardPRD/Setup has the needed steps. The attached files are the pentaho scripts for a few metrics. (They are an early version which may have usernames and passwords inside, therefore this bug is security+).
Summary: Set up data warehousing on SUMO production → Extract data from SUMO db and put it in datawarehouse
Assignee: nobody → cwwmozilla
Blocks: 398606
OS: Linux → All
Hardware: x86 → All
Target Milestone: --- → 1.2
Patch for SVN. This has all the security sensitive stuff removed. Usernames, DB names and passwords need to be put into kettle.properties (see kettle.properties.dist for template) and that needs to be in ~/.kettle/ for the user running the metrics updates (annoying as heck but I can't find another way right now).
Attachment #383589 - Attachment is obsolete: true
Attachment #383842 - Flags: review?(laura)
Attachment #383842 - Flags: review?(laura) → review+
Comment on attachment 383842 [details] [diff] [review] files as a patch with security sensitive stuff removed this is fine. For your next patch, generate it from the root dir of your checkout so it's obvious to the reviewer where it goes (was fine in this case).
Committed revision 28019
r28031 on prod
Committed = resolved fixed
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Attached patch dw schema (obsolete) — Splinter Review
In order to run the scripts you need the database already set up with tables etc. This patch just adds the schema file to svn.
File should be in /metrics (Also don't need review since this is the schema that's already running on sumotools and reviewed with the other patch in this bug) Also committed in trunk and prod as r28046/r28047
Attachment #384025 - Attachment is obsolete: true
Another patch on a fixed bug (sorry... I apparently just realized we should ALSO include the script file that initializes the DB tables for kettle) When I was setting up on sumotools, I just copied over the database from my local copy which is why it never occurred to me to also bring over the files required to set them up.
Attachment #384132 - Flags: review?
Attachment #384132 - Flags: review? → review?(pedro.alves)
Comment on attachment 384132 [details] [diff] [review] adds a job file to pre-fill the date table (run once) getting review
Attachment #384132 - Flags: review?(pedro.alves) → review+
Attachment #385127 - Flags: review?(pedro.alves)
Once this patch is r+, I'll need to commit the patches from comments #8 and #10. Reopening and assigning to myself until that's done.
Assignee: cwwmozilla → laura
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #385127 - Flags: review?(pedro.alves) → review+
patch from #10 in r28495 / r28496.
patch from #8 in r28499 / r28504. Reclosing.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Apparently I have a bug in #10 (database name is included, needs to be out). Recommitting in r28505 / r28506.
Attachment #385127 - Flags: review?(cwwmozilla)
Whiteboard: sumo_only
These bugs are all resolved, so I'm removing the security flag from them.
Group: websites-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: