我要评分
获取效率
正确性
完整性
易理解

Standalone Mode

Start the Spark cluster in the standalone mode and check whether the Spark cluster is successfully deployed.

  1. Start the Spark cluster on the server1 node.
    1
    2
    cd /usr/local/spark/sbin
    ./start-all.sh
    
  2. Open a browser, enter http://server1:8088, and access the Spark WebUI. If the page is displayed, the Spark cluster is started successfully.

    Change server1 to the IP address of the node where the NameNode is located.

  3. Optional: Stop the Spark cluster on the server1 node.

    This step is optional and only necessary if you intend to stop the Spark cluster.

    1
    2
    cd /usr/local/spark/sbin
    ./stop-all.sh