# 启动与停止

安装后的spark目录，执行启动关闭脚本

```
sh start-all.sh
sh stop-all.sh
```

![](/files/-LoyKN5hlBMaQYUdgj_P)

执行完start-all.sh后，可以查看是否启动：

```
(base) jiang@jiangxinfadeMacBook-Air ~ % jps
6181 Jps
6168 Worker
6126 Master
```

打开管理界面：<http://localhost:8080/>

控制台进入：输入`pyspark`

日志配置：在spark目录/conf/log4j.properties.template 文件中


---

# 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://im-qianuxn.gitbook.io/pytorch/ji-suan-ji/spark-hadoop/start.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.
