Restarting services

You can restart the Dgraph, the HDFS Agent, Studio, and the Dgraph Gateway by running the bdd-admin script with the restart command.

Run the following command from the Admin Server:
./bdd-admin.sh restart [component] <option>

You can specify any of the component and option arguments listed in About the bdd-admin script.

Examples

The following command restarts every Dgraph, HDFS Agent, Studio, and Dgraph Gateway service in the cluster:
./bdd-admin.sh restart --all
The following command restarts just the HDFS Agent service on the web009.us.example.com server:
./bdd-admin.sh restart --agent web009.us.example.com