Closed Bug 707319 Opened 13 years ago Closed 10 years ago

Turn off text analyzers in buildbot ES

Categories

(Infrastructure & Operations :: IT-Managed Tools, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jgriffin, Unassigned)

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/609] migrating to IT)

In the buildbot ES (buildbot-es.sjc1.metrics.mozilla.com), the text analyzers were originally off, but somehow got turned on during an earlier ES upgrade. The result is that terms like "mozilla-central" are now analyzed as two separate terms, instead of one, and our queries are much easier when "mozilla-central" is indexed as a single term. We still want date analyzers that turn text fields that look like dates into date objects, but we'd like the text analyzers that split fields into separate terms turned off. I volunteer to help write scripts to help deal with any data migration that might be necessary because of this. This isn't an emergency but it would be nice to deal with this sometime this month.
@jgriffin: We have upgraded ES to 0.18.6 for the WOO/buildbot cluster. Please hit me up on IRC whenever you have a chance so we can work towards resolving this bug. Thx,
Spoke with kimchy over IRC and we will need to re-index the entire dataset. Next steps: 1. Find 3 temp machines and install ES-0.18.6 with existing data. 2. add mappings file to "not analyze" fields 3. run re-indexing via https://metacpan.org/module/ElasticSearch#reindex- or equivalent. 4. if everything goes as planned, repeat steps 2-3 for prod cluster 5. create an alias that points to the newly created index. 6. modify existing code to point to the new alias.
Group: metrics-private
Status: NEW → ASSIGNED
:jgriffin - what do u suggest we should do? IT now manages ES, should we talk to them?
Assignee: aphadke → nobody
migrating to IT
Whiteboard: migrating to IT
Target Milestone: Unreviewed → Backlogged - BZ
Removing unrelated cc's and moving to the proper queue.
Assignee: nobody → server-ops-webops
Component: Metrics Operations → WebOps: IT-Managed Tools
Product: Mozilla Metrics → Infrastructure & Operations
QA Contact: nmaul
Target Milestone: Backlogged - BZ → ---
Version: unspecified → other
Whiteboard: migrating to IT → [kanban:https://webops.kanbanize.com/ctrl_board/2/609] migrating to IT
@jgriffin: Unfortunately, I have no context for this bug about buildbot ES and the need to re-index terms. Two quick questions for you: 1) is this bug still relevant, and 2) if so, do you have some time to discuss time frames for getting this done? (IRC or email would be fine) I'm not sure where the data currently resides since 1) I'm fairly certain that the server mentioned in the initial description is gone and 2) I'm not sure what indexes are being discussed.
Flags: needinfo?(jgriffin)
This bug is obsolete now.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jgriffin)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.