HUE-9413 [qb] First POC of Hive query browser

Review Request #15296 — Created July 15, 2020 and submitted

romain
hue
master
HUE-9413
hue
Amlesh1902, johan, ranade, romain, Sreenath, yingc
commit 11bc3e9c196ddd0e2370fe4cf05efefd3c4bb14b
Author: Romain <romain.rigaux@gmail.com>
Date:   Wed Jul 15 14:04:55 2020 -0700

    HUE-9413 [qb] Add minimal info to the query detail page

:100644 100644 72ede25ac8 9511fa096f M	apps/jobbrowser/src/jobbrowser/apis/hive_query_api.py
:100644 100644 ccfc3027e9 88a4700f12 M	apps/jobbrowser/src/jobbrowser/templates/job_browser.mako
:100644 100644 aaf5d119c8 48e465c02c M	desktop/core/src/desktop/js/apps/jobBrowser/components/hiveQueryPlan.vue

commit 2eceb1cf8cd21c391b50b533cc2dc73dc56b19ad
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jul 13 17:09:06 2020 -0700

    HUE-9413 [qb] Parameterize the Query History DB connection
    
    As the properties are directly used in settings.py, they need to
    live in the desktop module and no the jobbrowser app.
    
    Note: not documented yet as soon will be the same as the Hue DB.

:100644 100644 76069a95b7 f31fd37b57 M	apps/jobbrowser/src/jobbrowser/conf.py
:100644 100644 35c1939c31 599024482c M	desktop/conf.dist/hue.ini
:100644 100644 6505de6913 9cc443b32b M	desktop/conf/pseudo-distributed.ini.tmpl
:100644 100644 7acdc8ac8a e72bffcbab M	desktop/core/src/desktop/conf.py
:100644 100644 8f34c7529a 9e1bd46b57 M	desktop/core/src/desktop/settings.py

commit 13ecece3405bbabc765ac7a1830fe713e7cb5998
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jul 13 15:38:24 2020 -0700

    HUE-9413 [qb] Plug in the ORM into the list query API

:100644 100644 8ae21b9a67 72ede25ac8 M	apps/jobbrowser/src/jobbrowser/apis/hive_query_api.py

commit ffc28a3a0bb383df239f59a57623fd324ad5dc5d
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jul 13 15:19:25 2020 -0700

    HUE-9413 [qb] Add query DB routing

:100644 100644 7c9c8b25f8 8ae21b9a67 M	apps/jobbrowser/src/jobbrowser/apis/hive_query_api.py
:100644 100644 26adf07183 8f34c7529a M	desktop/core/src/desktop/settings.py

commit 66026d4723fede887db1bff02ef62577d5741703
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jul 13 15:06:49 2020 -0700

    HUE-9413 [qb] Just show the Hive Query browser when flag is on

:100644 100644 ae8071113e ccfc3027e9 M	apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

commit 226e2744d8ae5e884284d9c0b6e50d7724aa6b7b
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jul 13 15:06:00 2020 -0700

    HUE-9413 [qb] Schema model tweaks to be valid

:100644 100644 7f752c36e2 7c9c8b25f8 M	apps/jobbrowser/src/jobbrowser/apis/hive_query_api.py
:100644 100644 608975a504 7729bd1fb8 M	apps/jobbrowser/src/jobbrowser/models.py

commit 713fa993003c98a4a73503afc78c20b02ebc691d
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jul 13 14:49:59 2020 -0700

    HUE-9413 [qb] First model for HiveQuery
    
    Note: schema is as-is for now and not managed

:100644 100644 1afcd19495 608975a504 M	apps/jobbrowser/src/jobbrowser/models.py
POC mode, test suite is coming-up next after first round of feedback
This is no-op until the flags are turned on.

[desktop]
[[query_database]]
  engine=django.db.backends.postgresql_psycopg2
  options='{"options": "-c search_path=das,public"}'
  port=5432
  host=172.x.x.x
  name=dasdb
  user=dasuser
  password=daspwd

[jobbrowser]
enable_hive_query_browser=true
romain
Review request changed

Status: Closed (submitted)

Loading...