Upgrading HDP Manually
Also available as:
PDF
loading table of contents...

Configure and Start Apache Knox

For HDP 2.2, the default paths for Apache Knox change. Upgrade Knox in order to update these paths.

  1. Review your topologies. If you prefer to use the new topologies, copy the topology templates to the active topologies directory:

    cp /usr/hdp/current/knox/templates/topology.xml /usr/hdp/current/knox/conf/topologies/{clustername}.xml

    Modify the topology to match the cluster resources in your deployment.

  2. Create the Master Secret:

    su - knox -c “/usr/hdp/current/knox/bin/knoxcli.sh create-master”

  3. Start the Gateway:

    su -l knox -c "/usr/hdp/current/knox-server/bin/gateway.sh start"

  4. Check /var/log/knox/gateway.log for errors or successful start.