Skip to content

5. Graceful Shutdown of Services and EMR Cluster

Chia Yong Jian edited this page May 29, 2017 · 2 revisions

Steps

A graceful shutdown can be performed in the following order:

  1. Shutdown both Jupyter notebooks:

  1. In the PuTTY Terminal, enter “Ctrl” and “C” keys together to terminate the consumer application. Then navigate to:
cd /usr/lib/kafka_2.11-0.10.2.1/bin
  1. Execute the following commands in order, to shut down Apache Kafka server and Zookeeper server:
./kafka-server-stop.sh
./zookeeper-server-stop.sh
  1. Close PuTTY Terminal and remember to terminate the AWS EMR Cluster (to avoid clocking unnecessary costs!)

This concludes the entire guide. Hope it has been helpful!