- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Uninstall Knox and installing again
- Labels:
-
Apache Knox
-
Cloudera DataFlow (CDF)
Created ‎02-06-2016 09:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guys,
We setup a new HDP cluster with Ambari version 2.1, with HDP version 2.3.4 and Knox version 0.6, after successful installation of knox for the first time, we tried to configure it with LDAP and tried to restart the knox gateway service, which didn't work and it seemed to be a bug which will be resolved in the next version of Ambari, then we thought to Delete Knox service via REST API and install it once again with Ambari, which is not working now as at the end of setup from Ambari we only get and error message "server error" from Ambari. Any ideas or suggestions that what should be the next step? Thanks in advance.
Regards,
Hammad Ali
Created ‎02-07-2016 10:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can remove it from the PostgresDB by runnign below from Ambari node:
su postgres psql \c ambari DELETE FROM ambari.hostcomponentstate WHERE service_name IN ('KNOX'); DELETE FROM ambari.hostcomponentdesiredstate WHERE service_name IN ('KNOX'); DELETE FROM ambari.servicecomponentdesiredstate WHERE service_name IN ('KNOX'); DELETE FROM ambari.servicedesiredstate WHERE service_name IN ('KNOX'); DELETE FROM ambari.clusterservices WHERE service_name IN ('KNOX');
Created ‎02-09-2016 07:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Ali Bajwa Thanks for this, deletion of service from Ambari database worked for me, after that i restarted Ambari and i was able to install new fresh version of Knox again.
Created ‎02-14-2016 03:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Hammad Ali FYI ..Deletion is combination of both actions.

- « Previous
-
- 1
- 2
- Next »