apache/kyuubi

[Umbrella] Spark Configuration Validation

Open

#832 ouverte le 19 juil. 2021

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)Scala (996 forks)batch import
good first issuehelp wantedkind:feature

Métriques du dépôt

Stars
 (2 332 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Describe the proposal

When a SparkConf is invalid for launching our engines, it is better to fail fast instead of waiting for Spark to check while engine bootstrapping.

Motivation

  1. Save time to create an invalid engine
  2. Avoid possible hang
  3. better error message

Here is an example I did for Spark to validate its own configs when talking to Kubernetes. https://github.com/apache/spark/pull/32610

Task list

Generally speaking, we can have 1) a tool in kyuubi-ctl to check server/engine conf in configuration files are valid, 2) The logic of the tool can also be called when engine bootstrapping for the configurations from the client side

  • #833
  • #1018

Guide contributeur