# Data Analysis using Spark

### Apache Spark Runtime Environment

Click on JupyterHub from left menu or click on QuickStart Spark or PySpark, it will open up new secure window with your same user credentials

![](/files/mOuHW45MdM6UpbFs92gu)

### Server Options

Select server options for **Run Managed Apache Spark environment** and click on start.

![](/files/fCrIHfCghRbJauM5wlGn)

Jupyter notebook start with multiple Spark runtime kernels like native python, PySpark, R or core Spark.

![](/files/WNYqAjZj2xt7HvtFIspk)

Initialize spark session with "sc" in notebook and Databeanstalk create Spark driver and two executors in kubernetes Databeanstalk plateform.

![](/files/QJMmI6A48IarRiAdkjEx)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.databeanstalk.com/databeanstalk-guides/data-analysis-using-spark.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
