Command Line Upgrade
Also available as:
PDF
loading table of contents...

Downgrade the Knox Gateway to the Previous Version

If the Knox Gateway upgrade was unsuccessful, you need to downgrade Knox to the previous version to ensure you have a working Knox Gateway for your cluster. To downgrade Knox, follow the steps listed below.

  1. For each server running Knox, stop the server.

    su -l knox /usr/hdp/{current HDP server version}/knox/bin/gateway.sh stop
  2. Select the HDP server version you want to use to downgrade your Knox Gateway.

    hdp-select set knox-server {previous HDP server version}
  3. Restart the server.

    su -l knox /usr/hdp/{previous HDP server version}/knox/bin/gateway.sh start