code: def __init__(self, spark_log_level="WARN", redirect_spark_log=True):
      self.spark_log_level = spark_log_level
      self.redirect_spark_log = redirect_spark_log
      with SparkContext._lock:
          if SparkContext._active_spark_context:
              print(
                  "WARNING: Note that there's an existing SparkContext. "
                  "Using the existing SparkContext."
              )
      import pyspark
  
      print("Current pyspark location is : {}".format(pyspark.__file__))
  
file_path: analytics-zoo/pyzoo/zoo/util/spark.py
imports: import os
  import platform
  from pyspark import SparkContext
  from zoo import init_nncontext, init_spark_conf
  from zoo.util.utils import detect_python_location, pack_penv
  from zoo.util.utils import get_executor_conda_zoo_classpath, get_zoo_bigdl_classpath_on_driver
label_desc: Use image node_id 1 to create a new SparkRunner object  with example: obj = SparkRunner(spark_log_level, redirect_spark_log)