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 -ivk -u {user}:{password} https://{knox host}:8443 /gateway/webhdfs/v1/tmp?op=LISTSTATUS
Verify the Knox version using the Knox Admin service and Version API.
curl -ivk -u {adminuser}:{adminpassword} https://{knox host}:8443 /gateway/admin/v1/version
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. If, however, the upgrade was unsuccessful, you will need to downgrade the Knox Gateway to the previous version. The steps to downgrade the Knox Gateway are described in the next section.