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

Verify the Knox Upgrade

To verify the upgrade was successful, follow the steps listed below.

  1. Navigate to the /var/log/knox/gateway directory and check the gateway.logfile for errors and an acknowledgement that the server restart was successful.

  2. Verify you have cluster access using the LISTSTATUS WebHDFS API call.

    curl -i -v -k -u admin:admin-password -X GET
          "https://localhost:8443/gateway/sandbox/webhdfs/v1?op=LISTSTATUS"
  3. Verify the Knox version using the Knox Admin service and Version API.

    curl -i -v -k -u admin:admin-password -X GET "https://localhost:8443/gateway/admin/api/v1/version"
    curl -i -v -k -u admin:admin-password -X GET "https://localhost:8443/gateway/sandbox/webhdfs/v1?op=LISTSTATUS"
[Note]Note

The Admin API requires you to be a member of an Admin group, as specified in the admin.xml authorization provider.

When you have verified the Knox upgrade was successful, you can begin using Knox.