Page MenuHomePhabricator

[reportupdater] Add a configurable hive client
Closed, ResolvedPublic

Description

Today, if you want reportupdater to query hive, you have to use a script which calls hive/beeline from the command line.
It would be better if you could have a type=hive that lets you write plain (templated) hql and reportupdater would connect to hive for you.

Event Timeline

mforns triaged this task as Unbreak Now! priority.Apr 26 2018, 4:32 PM
mforns moved this task from Incoming to Smart Tools for Better Data on the Analytics board.
mforns lowered the priority of this task from Unbreak Now! to Needs Triage.Apr 26 2018, 4:33 PM
mforns triaged this task as Medium priority.Apr 30 2018, 4:47 PM
Vvjjkkii renamed this task from [reportupdater] Add a configurable hive client to i5daaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
AfroThundr3007730 renamed this task from i5daaaaaaa to [reportupdater] Add a configurable hive client.Jul 1 2018, 7:06 AM
AfroThundr3007730 lowered the priority of this task from High to Medium.
AfroThundr3007730 updated the task description. (Show Details)
AfroThundr3007730 added a subscriber: Aklapper.
mforns raised the priority of this task from Medium to Needs Triage.Mar 25 2019, 5:33 PM
mforns triaged this task as Medium priority.
mforns raised the priority of this task from Medium to Needs Triage.Dec 9 2019, 5:46 PM
mforns triaged this task as Medium priority.

Change 667192 had a related patch set uploaded (by Awight; owner: Awight):
[analytics/reportupdater@master] [WIP] Support explicit "hive" script type

https://gerrit.wikimedia.org/r/667192

awight moved this task from Doing to Watching (Stalled) on the WMDE-TechWish-Sprint-2021-02-17 board.

Change 667192 merged by Mforns:
[analytics/reportupdater@master] Support explicit "hive" script type

https://gerrit.wikimedia.org/r/667192

Change 676299 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Validate the native "hive" report type

https://gerrit.wikimedia.org/r/676299

Change 677511 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater@master] Fix date range parameters for native hive scripts

https://gerrit.wikimedia.org/r/677511

Change 677511 merged by Mforns:

[analytics/reportupdater@master] Fix date range parameters for native hive scripts

https://gerrit.wikimedia.org/r/677511

Change 676299 merged by Mforns:

[analytics/reportupdater-queries@master] Validate the native "hive" report type

https://gerrit.wikimedia.org/r/676299

Change 681707 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Rewrite WMDE Tech Wishes reports as native HiveQL

https://gerrit.wikimedia.org/r/681707

Change 681707 merged by Mforns:

[analytics/reportupdater-queries@master] Rewrite WMDE Tech Wishes reports as native HiveQL

https://gerrit.wikimedia.org/r/681707

Change 682730 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Convert `browser` queries to native HiveHQL

https://gerrit.wikimedia.org/r/682730

Change 682742 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Convert `cx` queries to native HiveHQL

https://gerrit.wikimedia.org/r/682742

Change 682743 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Convert `interlanguage` queries to native HiveHQL

https://gerrit.wikimedia.org/r/682743

Change 682744 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Convert `pingback` queries to native HiveHQL

https://gerrit.wikimedia.org/r/682744

Change 682747 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Convert `published_cx2_translations` to native HiveHQL

https://gerrit.wikimedia.org/r/682747

Change 682748 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Convert `reference-previews` to native HiveHQL

https://gerrit.wikimedia.org/r/682748

Change 682749 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Convert `structured-data` to native HiveHQL

https://gerrit.wikimedia.org/r/682749

Change 682753 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater-queries@master] Convert `wmcs` to native HiveHQL

https://gerrit.wikimedia.org/r/682753

Change 682761 had a related patch set uploaded (by Awight; author: Awight):

[analytics/reportupdater@master] [WIP] Provide to_year, to_month, and to_day

https://gerrit.wikimedia.org/r/682761

Change 682748 merged by Awight:

[analytics/reportupdater-queries@master] Convert `reference-previews` to native HiveHQL

https://gerrit.wikimedia.org/r/682748

Milimetric subscribed.

not to diminish the work already done here, just declining in favor of moving to Airflow and to clean up the logs

awight changed the task status from Declined to Resolved.Oct 29 2021, 8:52 AM

I would say the work is complete. Migrating format of existing jobs can be left up to the owners, or never.