Verify the Knox Upgrade
To verify the upgrade was successful, follow the steps listed below.
Navigate to the /var/log/knox/gateway directory and check the
gateway.log
file for errors and an acknowledgement that the server restart was successful.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"
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 | |
---|---|
The Admin API requires you to be a member of an Admin group, as specified in the
|
When you have verified the Knox upgrade was successful, you can begin using Knox.