kyuubi icon indicating copy to clipboard operation
kyuubi copied to clipboard

[Umbrella] Spark Configuration Validation

Open yaooqinn opened this issue 4 years ago • 1 comments

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

  • [x] #833
  • [x] #1018

yaooqinn avatar Jul 19 '21 08:07 yaooqinn

FYI some working in Apache Spark https://github.com/apache/spark/pull/33491

ulysses-you avatar Sep 03 '21 06:09 ulysses-you