Genie is a federated Big Data orchestration and execution engine developed by Netflix.
Genieâs value is best described in terms of the problem it solves.
Big Data infrastructure is complex and ever-evolving.
Data consumers (Data Scientists or other applications) need to jump over a lot of hurdles in order to run a simple query:
- Find, download, install and configure a number of binaries, libraries and tools
- Point to the correct cluster, using valid configuration and reasonable parameters, some of which are very obscure
- Manually monitor the query, retrieve its output
What works today, may not work tomorrow. The cluster may have moved, the binaries may no longer be compatible, etc.
Multiply this overhead times the number of data consumers, and it adds up to a lot of wasted time (and grief!).
Data infrastructure providers face a different set of problems:
- Users require a lot of help configuring their working setup, which is not easy to debug remotely
- Infrastructure upgrades and expansion require careful coordination with all users
Genie is designed to sit at the boundary of these two worlds, and simplify the lives of people on either side.
A data scientist can ârub the magic lampâ and just say âGenie, run query âQâ using engine SparkSQL against production dataâ. Genie takes care of all the nitty-gritty details. It dynamically assembles the necessary binaries and configurations, execute the job, monitors it, notifies the user of its completion, and makes the output data available for immediate and future use.
Providers of Big data infrastructure work with Genie by making resources available for use (clusters, binaries, etc) and plugging in the magic logic that the user doesnât need to worry about: which cluster should a given query be routed to? Which version of spark should a given query be executed with? Is this user allowed to access this data? etc. Moreover, every jobâs details are recorded for later audit or debugging.
Genie is designed from the ground up to be very flexible and customizable. For more details visit the official documentation
Genie builds are run on Travis CI here.
Branch | Build | Coverage (coveralls.io) |
---|---|---|
master (4.2.x) | ||
4.1.x | ||
4.0.x |
Self-contained Genie service server.
Self-contained Genie CLI job executor.
Genie client interact with the service via REST API.
The main server library, can be re-wrapped to inject and override server components.
The main agent library, can be re-wrapped to inject and override components.
Internal components libraries shared by the server, agent, and client modules.
Protobuf messages and gRPC services definition shared by server and agent. This is not a public API meant for use by other clients.
Documentation and demo application.
Testing classes and utilities shared by other modules.
JavaScript UI to search and visualize jobs, clusters, commands.
Auto-configuration of Swagger via Spring Fox. Add to final deployment artifact of server to enable.
Genie publishes to Maven Central and Docker Hub
Refer to the demo section of the documentations for examples. And to the setup section for more detailed instructions to set up Genie.
The Genie Python client is hosted in a different repository.
For a detailed explanation of Genie architecture, use cases, API documentation, demos, deployment and customization guides, and more, visit the Genie documentation.
To contact Genie developers with questions and suggestions, please use GitHub Issues